aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-03-11 00:15:40 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2024-03-11 00:16:01 +0100
commitcd9de752bd224189e57468aa183abc67f41d6889 (patch)
tree44f13b06af7864d4295a9397fbf4c6967c1f382c /gcc
parentee90365c80a7cabb43b2c1b95495e9a43fc1f54c (diff)
parent9c7797a8c2d707ba4516d3d96d8dff6201476fb6 (diff)
downloadgcc-cd9de752bd224189e57468aa183abc67f41d6889.zip
gcc-cd9de752bd224189e57468aa183abc67f41d6889.tar.gz
gcc-cd9de752bd224189e57468aa183abc67f41d6889.tar.bz2
Merge commit '9c7797a8c2d707ba4516d3d96d8dff6201476fb6' into HEAD
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/configure14
1 files changed, 11 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure
index 68a3835..cc422fa 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -15021,7 +15021,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
@@ -19887,7 +19895,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 19890 "configure"
+#line 19898 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -19993,7 +20001,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 19996 "configure"
+#line 20004 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H