diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-12-15 20:45:58 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-12-15 20:45:58 -0800 |
commit | ab18659afc054434cef4d4757a3519f1100adc52 (patch) | |
tree | f93a5c5823b4df35d43dd5e81c6c24e38e997512 /libiberty/configure | |
parent | e1f8c14b9a0387e2beffeee002c56164166a265b (diff) | |
download | gcc-ab18659afc054434cef4d4757a3519f1100adc52.zip gcc-ab18659afc054434cef4d4757a3519f1100adc52.tar.gz gcc-ab18659afc054434cef4d4757a3519f1100adc52.tar.bz2 |
Revert "Sync with binutils: GCC: Pass --plugin to AR and RANLIB"
This reverts commit bf8cdd35117dea2049abbeebcdf14de11b323ef7.
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/libiberty/configure b/libiberty/configure index 6dd1d11..0a79725 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -645,8 +645,6 @@ CPPFLAGS LDFLAGS CFLAGS CC -RANLIB_PLUGIN_OPTION -AR_PLUGIN_OPTION RANLIB AR host_os @@ -2937,41 +2935,6 @@ else fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -plugin option" >&5 -$as_echo_n "checking for -plugin option... " >&6; } - -plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" -plugin_option= -for plugin in $plugin_names; do - plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin` - if test x$plugin_so = x$plugin; then - plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin` - fi - if test x$plugin_so != x$plugin; then - plugin_option="--plugin $plugin_so" - break - fi -done -if test -n "$plugin_option"; then - PLUGIN_OPTION="$plugin_option" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_option" >&5 -$as_echo "$plugin_option" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - -if test -n "$PLUGIN_OPTION"; then - if $AR --help 2>&1 | grep -q "\--plugin"; then - AR_PLUGIN_OPTION="$PLUGIN_OPTION" - - fi - if $RANLIB --help 2>&1 | grep -q "\--plugin"; then - RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION" - - fi -fi - # Add --enable-multilib to configure. # Default to --enable-multilib # Check whether --enable-multilib was given. |