diff options
Diffstat (limited to 'zlib')
-rw-r--r-- | zlib/ChangeLog.bin-gdb | 5 | ||||
-rwxr-xr-x | zlib/configure | 14 |
2 files changed, 16 insertions, 3 deletions
diff --git a/zlib/ChangeLog.bin-gdb b/zlib/ChangeLog.bin-gdb index e30e67d..5b6a769 100644 --- a/zlib/ChangeLog.bin-gdb +++ b/zlib/ChangeLog.bin-gdb @@ -1,3 +1,8 @@ +2021-01-11 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/27173 + * configure: Regenerated. + 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> * configure: Regenerated. diff --git a/zlib/configure b/zlib/configure index 79a79c5..695819c 100755 --- a/zlib/configure +++ b/zlib/configure @@ -5515,7 +5515,15 @@ fi test -z "$AR" && AR=ar if test -n "$plugin_option"; then if $AR --help 2>&1 | grep -q "\--plugin"; then - AR="$AR $plugin_option" + touch conftest.c + $AR $plugin_option rc conftest.a conftest.c + if test "$?" != 0; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5 +$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;} + else + AR="$AR $plugin_option" + fi + rm -f conftest.* fi fi test -z "$AR_FLAGS" && AR_FLAGS=cru @@ -10657,7 +10665,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10660 "configure" +#line 10668 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10763,7 +10771,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10766 "configure" +#line 10774 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |