summaryrefslogtreecommitdiffstats
path: root/libvtv
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-29 12:23:33 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-05-29 12:56:40 -0700
commit9051b548274bffef9f41e720e1894d12cf68a47c (patch)
tree5b382dcf5ffd2a24dbdb58ebec70bfe0beac215c /libvtv
parentPR fortran/95090 - ICE: identifier overflow (diff)
downloadgcc-9051b548274bffef9f41e720e1894d12cf68a47c.tar.gz
gcc-9051b548274bffef9f41e720e1894d12cf68a47c.tar.bz2
gcc-9051b548274bffef9f41e720e1894d12cf68a47c.tar.xz
Avoid nested save_CFLAGS and save_LDFLAGS
Avoid nested save_CFLAGS and save_LDFLAGS by replacing save_CFLAGS and save_LDFLAGS with cet_save_CFLAGS and cet_save_LDFLAGS in cet.m4. config/ PR bootstrap/95413 * cet.m4: Replace save_CFLAGS and save_LDFLAGS with cet_save_CFLAGS and cet_save_LDFLAGS. gcc/ PR bootstrap/95413 * configure: Regenerated. libatomic/ PR bootstrap/95413 * configure: Regenerated. libbacktrace/ PR bootstrap/95413 * configure: Regenerated. libcc1/ PR bootstrap/95413 * configure: Regenerated. libcpp/ PR bootstrap/95413 * configure: Regenerated. libdecnumber/ PR bootstrap/95413 * configure: Regenerated. libgcc/ PR bootstrap/95413 * configure: Regenerated. libgfortran/ PR bootstrap/95413 * configure: Regenerated. libgomp/ PR bootstrap/95413 * configure: Regenerated. libiberty/ PR bootstrap/95413 * configure: Regenerated. libitm/ PR bootstrap/95413 * configure: Regenerated. libobjc/ PR bootstrap/95413 * configure: Regenerated. libphobos/ PR bootstrap/95413 * configure: Regenerated. libquadmath/ PR bootstrap/95413 * configure: Regenerated. libsanitizer/ PR bootstrap/95413 * configure: Regenerated. libssp/ PR bootstrap/95413 * configure: Regenerated. libstdc++-v3/ PR bootstrap/95413 * configure: Regenerated. libvtv/ PR bootstrap/95413 * configure: Regenerated. lto-plugin/ PR bootstrap/95413 * configure: Regenerated. zlib/ PR bootstrap/95413 * configure: Regenerated.
Diffstat (limited to 'libvtv')
-rwxr-xr-xlibvtv/configure5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvtv/configure b/libvtv/configure
index eced2b23ce0..b796e0197d5 100755
--- a/libvtv/configure
+++ b/libvtv/configure
@@ -15674,13 +15674,14 @@ fi
15674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5 15674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
15675$as_echo_n "checking for CET support... " >&6; } 15675$as_echo_n "checking for CET support... " >&6; }
15676 15676
15677# NB: Avoid nested save_CFLAGS and save_LDFLAGS.
15677case "$host" in 15678case "$host" in
15678 i[34567]86-*-linux* | x86_64-*-linux*) 15679 i[34567]86-*-linux* | x86_64-*-linux*)
15679 case "$enable_cet" in 15680 case "$enable_cet" in
15680 auto) 15681 auto)
15681 # Check if target supports multi-byte NOPs 15682 # Check if target supports multi-byte NOPs
15682 # and if assembler supports CET insn. 15683 # and if assembler supports CET insn.
15683 save_CFLAGS="$CFLAGS" 15684 cet_save_CFLAGS="$CFLAGS"
15684 CFLAGS="$CFLAGS -fcf-protection" 15685 CFLAGS="$CFLAGS -fcf-protection"
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686/* end confdefs.h. */ 15687/* end confdefs.h. */
@@ -15705,7 +15706,7 @@ else
15705 enable_cet=no 15706 enable_cet=no
15706fi 15707fi
15707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708 CFLAGS="$save_CFLAGS" 15709 CFLAGS="$cet_save_CFLAGS"
15709 ;; 15710 ;;
15710 yes) 15711 yes)
15711 # Check if assembler supports CET. 15712 # Check if assembler supports CET.