]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - Makefile.def
configure: Implement --enable-host-pie
[thirdparty/gcc.git] / Makefile.def
index 02e63c57177ed6e9b0f3546a43a57dbf7474c0c0..ba2903d4b30fcf91b060ac468898505982ac592d 100644 (file)
@@ -51,7 +51,7 @@ host_modules= { module= gcc; bootstrap=true;
 host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
                // Work around in-tree gmp configure bug with missing flex.
                extra_configure_flags='--disable-shared LEX="touch lex.yy.c"';
-               extra_make_flags='AM_CFLAGS="-DNO_ASM"';
+               extra_make_flags='AM_CFLAGS="-DNO_ASM $(PICFLAG)"';
                no_install= true;
                // none-*-* disables asm optimizations, bootstrap-testing
                // the compiler more thoroughly.
@@ -61,14 +61,15 @@ host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
                target="none-${host_vendor}-${host_os}"; };
 host_modules= { module= mpfr; lib_path=src/.libs; bootstrap=true;
                extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
-               extra_make_flags='AM_CFLAGS="-DNO_ASM"';
+               extra_make_flags='AM_CFLAGS="-DNO_ASM $(PICFLAG)"';
                no_install= true; };
 host_modules= { module= mpc; lib_path=src/.libs; bootstrap=true;
                extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode';
+               extra_make_flags='AM_CFLAGS="$(PICFLAG)"';
                no_install= true; };
 host_modules= { module= isl; lib_path=.libs; bootstrap=true;
                extra_configure_flags='--disable-shared @extra_isl_gmp_configure_flags@';
-               extra_make_flags='V=1';
+               extra_make_flags='V=1 AM_CFLAGS="$(PICFLAG)"';
                no_install= true; };
 host_modules= { module= gold; bootstrap=true; };
 host_modules= { module= gprof; };