3 dnl (SHELL-CODE_HANDLER)
5 AC_DEFUN([GCC_CET_FLAGS],[dnl
6 GCC_ENABLE(cet, default, ,[enable Intel CET in target libraries],
9 i[[34567]]86-*-linux* | x86_64-*-linux*)
12 # Check if assembler supports CET.
16 [asm ("setssbsy");])],
21 # Check if assembler supports CET.
25 [asm ("setssbsy");])],
27 [AC_MSG_ERROR([assembler with CET support is required for --enable-cet])])
35 if test x$enable_cet = xyes; then
36 $1="-fcf-protection -mcet"