diff options
Diffstat (limited to 'gcc-4.6/configure.ac')
-rw-r--r-- | gcc-4.6/configure.ac | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc-4.6/configure.ac b/gcc-4.6/configure.ac index af8ad38..020536e 100644 --- a/gcc-4.6/configure.ac +++ b/gcc-4.6/configure.ac @@ -1738,6 +1738,8 @@ enable_lto=yes; default_enable_lto=yes) ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always. build_lto_plugin=yes + # Allow ELF platforms to build the function_reordering_plugin always. + build_function_reordering_plugin=yes ],[if test x"$default_enable_lto" = x"yes" ; then case $target in *-apple-darwin9 | *-cygwin* | *-mingw*) ;; @@ -1865,6 +1867,11 @@ if test -d ${srcdir}/gcc; then extra_host_libiberty_configure_flags=--enable-shared fi fi + if test "${build_function_reordering_plugin}" = "yes" ; then + configdirs="$configdirs function_reordering_plugin" + extra_host_libiberty_configure_flags=--enable-shared + fi + AC_SUBST(extra_host_libiberty_configure_flags) missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ ` @@ -2431,10 +2438,6 @@ case "${target}" in extra_arflags_for_target=" -X32_64" extra_nmflags_for_target=" -B -X32_64" ;; - *-*-darwin[[3-9]]*) - # ranlib before Darwin10 requires the -c flag to look at common symbols. - extra_ranlibflags_for_target=" -c" - ;; mips*-*-pe | sh*-*-pe | *arm-wince-pe) target_makefile_frag="config/mt-wince" ;; |