diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | distrib/configure.ac.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 92d37141ff..c31deba833 100644 --- a/configure.ac +++ b/configure.ac @@ -535,6 +535,7 @@ FIND_LD([$target],[GccUseLdOpt]) CONF_GCC_LINKER_OPTS_STAGE1="$CONF_GCC_LINKER_OPTS_STAGE1 $GccUseLdOpt" CONF_GCC_LINKER_OPTS_STAGE2="$CONF_GCC_LINKER_OPTS_STAGE2 $GccUseLdOpt" LdCmd="$LD" +CFLAGS="$CFLAGS $GccUseLdOpt" AC_SUBST([LdCmd]) dnl ** Which nm to use? diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index 53c79e1a2d..ac6af24b94 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -121,6 +121,7 @@ FIND_LD([$target],[GccUseLdOpt]) CONF_GCC_LINKER_OPTS_STAGE1="$CONF_GCC_LINKER_OPTS_STAGE1 $GccUseLdOpt" CONF_GCC_LINKER_OPTS_STAGE2="$CONF_GCC_LINKER_OPTS_STAGE2 $GccUseLdOpt" LdCmd="$LD" +CFLAGS="$CFLAGS $GccUseLdOpt" AC_SUBST([LdCmd]) FP_PROG_LD_IS_GNU |