aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2023-03-29 14:52:42 +0200
committerMartin Liska <mliska@suse.cz>2023-03-29 15:04:55 +0200
commit8b2766e87dbf0d20808bc92d8e6ee7f876d19ab2 (patch)
tree809698c865ce12a8ab36895309575ec261206dcc /gcc
parent86efc490ab86bfa00720479b4714da23cd7df797 (diff)
downloadgcc-8b2766e87dbf0d20808bc92d8e6ee7f876d19ab2.zip
gcc-8b2766e87dbf0d20808bc92d8e6ee7f876d19ab2.tar.gz
gcc-8b2766e87dbf0d20808bc92d8e6ee7f876d19ab2.tar.bz2
configure: deprecate --enable-link-mutex option
PR bootstrap/109310 gcc/ChangeLog: * configure.ac: Emit a warning for deprecated option --enable-link-mutex. * configure: Regenerate.
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.ac1
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure
index 1508657..88213d8 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -31468,6 +31468,8 @@ $as_echo "$do_link_mutex" >&6; }
if test "$do_link_mutex" = "yes"; then
DO_LINK_MUTEX=true
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead" >&5
+$as_echo "$as_me: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead" >&2;}
else
DO_LINK_MUTEX=false
fi
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 120151c..b56036d 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -7013,6 +7013,7 @@ AC_MSG_RESULT($do_link_mutex)
if test "$do_link_mutex" = "yes"; then
DO_LINK_MUTEX=true
+ AC_MSG_WARN([--enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead])
else
DO_LINK_MUTEX=false
fi