Index: configure |
=================================================================== |
--- configure (revision 178891) |
+++ configure (working copy) |
@@ -6199,6 +6199,8 @@ |
if test $target_elf = yes; then : |
# 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 |
else |
if test x"$default_enable_lto" = x"yes" ; then |
@@ -6330,8 +6332,13 @@ |
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 |
+ |
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ ` |
potential_languages=,c, |