declaration of dependencies moved to variant files
This commit is contained in:
@@ -1 +1 @@
|
||||
2.7.11 Linux,Darwin unstable openssl/1.0.2h Tcl/8.6.4 Tk/8.6.4
|
||||
2.7.11 unstable openssl/1.0.2h Tcl/8.6.4 Tk/8.6.4
|
||||
|
||||
16
Programming/gcc/4/non-dead-strip.patch
Normal file
16
Programming/gcc/4/non-dead-strip.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
|
||||
index 40804b8..0080299 100644
|
||||
--- a/gcc/config/darwin.c
|
||||
+++ b/gcc/config/darwin.c
|
||||
@@ -1259,6 +1259,11 @@ darwin_encode_section_info (tree decl, rtx rtl, int first ATTRIBUTE_UNUSED)
|
||||
void
|
||||
darwin_mark_decl_preserved (const char *name)
|
||||
{
|
||||
+ /* Actually we shouldn't mark any local symbol this way, but for now
|
||||
+ this only happens with ObjC meta-data. */
|
||||
+ if (darwin_label_is_anonymous_local_objc_name (name))
|
||||
+ return;
|
||||
+
|
||||
fprintf (asm_out_file, "\t.no_dead_strip ");
|
||||
assemble_name (asm_out_file, name);
|
||||
fputc ('\n', asm_out_file);
|
||||
@@ -1,7 +1,7 @@
|
||||
4.7.4 Linux,Darwin stable gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
|
||||
4.8.3 Linux,Darwin stable gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
|
||||
4.8.4 Linux,Darwin stable gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
|
||||
4.8.5 Linux,Darwin stable gmp/6.0.0 mpfr/3.1.3 mpc/1.0.3
|
||||
4.9.0 Linux,Darwin deprecated gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
|
||||
4.9.2 Linux,Darwin deprecated gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
|
||||
4.9.3 Linux,Darwin stable gmp/6.0.0 mpfr/3.1.3 mpc/1.0.3
|
||||
gcc/4.7.4 stable b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
|
||||
gcc/4.8.3 stable b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
|
||||
gcc/4.8.4 stable b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
|
||||
gcc/4.8.5 stable b:gmp/6.0.0 b:mpfr/3.1.3 b:mpc/1.0.3
|
||||
gcc/4.9.0 deprecated b:gmp/5.1.1 b.mpfr/3.1.2 b:mpc/1.0.2
|
||||
gcc/4.9.2 deprecated b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
|
||||
gcc/4.9.3 stable b:gmp/6.1.0 b:mpfr/3.1.4 b:mpc/1.0.3
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
5.1.0 Linux,Darwin deprecated gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
|
||||
5.2.0 Linux,Darwin deprecated gmp/6.0.0 mpfr/3.1.3 mpc/1.0.3
|
||||
5.3.0 Linux,Darwin stable gmp/6.0.0 mpfr/3.1.3 mpc/1.0.3
|
||||
gcc/5.1.0 deprecated b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
|
||||
gcc/5.2.0 deprecated b:gmp/6.0.0 b:mpfr/3.1.3 b:mpc/1.0.3
|
||||
gcc/5.3.0 stable b:gmp/6.0.0 b:mpfr/3.1.3 b:mpc/1.0.3
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.1.0 Linux,Darwin unstable gmp/6.1.0 mpfr/3.1.4 mpc/1.0.3
|
||||
gcc/6.1.0 unstable b:gmp/6.1.0 b:mpfr/3.1.4 b:mpc/1.0.3
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::patch_sources_Darwin() {
|
||||
if [[ "${V_MAJOR}" == "4" ]]; then
|
||||
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/non-dead-strip.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
@@ -10,17 +16,15 @@ pbuild::configure() {
|
||||
--enable-lto \
|
||||
--disable-multilib \
|
||||
--with-pkgversion="PSI Environment Module" \
|
||||
--with-build-config=bootstrap-debug \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
|
||||
# use system gcc to compile
|
||||
declare -rx CC=gcc
|
||||
declare -rx CXX=g++
|
||||
|
||||
module use 'Libraries'
|
||||
pbuild::add_to_group 'Programming'
|
||||
#pbuild::set_build_dependencies 'gmp' 'mpfr' 'mpc'
|
||||
pbuild::set_docfiles 'COPYING' 'COPYING.LIB' 'COPYING.RUNTIME' 'COPYING3' 'COPYING3.LIB' 'NEWS' 'README'
|
||||
pbuild::make_all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user