diff options
Diffstat (limited to 'libvtv/configure')
| -rwxr-xr-x | libvtv/configure | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvtv/configure b/libvtv/configure index 9d42cb88fb2..eced2b23ce0 100755 --- a/libvtv/configure +++ b/libvtv/configure @@ -15680,6 +15680,8 @@ case "$host" in auto) # Check if target supports multi-byte NOPs # and if assembler supports CET insn. + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fcf-protection" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15703,6 +15705,7 @@ else enable_cet=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" ;; yes) # Check if assembler supports CET. |
