aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-04-19 09:45:51 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-04-19 09:45:51 +0200
commita0e1df888de5675d071239b1db57fd48d6ff47b7 (patch)
treeb0c9b9254a3be05982a8b50a9f49a73a011ebce8 /config
parent4f3fc30103ca6d8d5cb6b1a01c4db33d5ab813b4 (diff)
downloadgcc-a0e1df888de5675d071239b1db57fd48d6ff47b7.zip
gcc-a0e1df888de5675d071239b1db57fd48d6ff47b7.tar.gz
gcc-a0e1df888de5675d071239b1db57fd48d6ff47b7.tar.bz2
cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace --enable-cet=default with --enable-cet=auto.
* config/cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace --enable-cet=default with --enable-cet=auto. * doc/install.texi: Document --disable-cet being the default and --enable-cet=auto. * configure: Regenerated. From-SVN: r259487
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/cet.m46
2 files changed, 8 insertions, 3 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index b73c1d1..ba360e1 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2018-04-19 Jakub Jelinek <jakub@redhat.com>
+
+ * config/cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace
+ --enable-cet=default with --enable-cet=auto.
+
2018-04-18 David Malcolm <dmalcolm@redhat.com>
PR jit/85384
diff --git a/config/cet.m4 b/config/cet.m4
index 23dd1f7..04a0e05 100644
--- a/config/cet.m4
+++ b/config/cet.m4
@@ -3,14 +3,14 @@ dnl GCC_CET_FLAGS
dnl (SHELL-CODE_HANDLER)
dnl
AC_DEFUN([GCC_CET_FLAGS],[dnl
-GCC_ENABLE(cet, default, ,[enable Intel CET in target libraries],
- permit yes|no|default)
+GCC_ENABLE(cet, no, ,[enable Intel CET in target libraries],
+ permit yes|no|auto)
AC_MSG_CHECKING([for CET support])
case "$host" in
i[[34567]]86-*-linux* | x86_64-*-linux*)
case "$enable_cet" in
- default)
+ auto)
# Check if target supports multi-byte NOPs
# and if assembler supports CET insn.
AC_COMPILE_IFELSE(