aboutsummaryrefslogtreecommitdiff
path: root/libvtv/configure.ac
diff options
context:
space:
mode:
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>2017-11-17 23:29:19 +0100
committerIgor Tsimbalist <itsimbal@gcc.gnu.org>2017-11-17 23:29:19 +0100
commit8e2fc0551b547d1ecb498d18fc599bc73289629f (patch)
tree30478846e0e4a47467f33366105d7a31735b75cd /libvtv/configure.ac
parent9069eb28d45baaa8baf5e3790b03b0e2cc5b49b3 (diff)
downloadgcc-8e2fc0551b547d1ecb498d18fc599bc73289629f.zip
gcc-8e2fc0551b547d1ecb498d18fc599bc73289629f.tar.gz
gcc-8e2fc0551b547d1ecb498d18fc599bc73289629f.tar.bz2
Enable building libvtv with Intel CET
libvtv/ * acinclude.m4: Add enable.m4 and cet.m4. * Makefile.in: Regenerate. * testsuite/Makefile.in: Likewise. * configure: Likewise. * configure.ac: Set CET_FLAGS. Update XCFLAGS. * testsuite/libvtv.cc/vtv.exp: Add scanlang.exp. From-SVN: r254897
Diffstat (limited to 'libvtv/configure.ac')
-rw-r--r--libvtv/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvtv/configure.ac b/libvtv/configure.ac
index 33b1e79..ba3009e 100644
--- a/libvtv/configure.ac
+++ b/libvtv/configure.ac
@@ -151,6 +151,11 @@ libtool_VERSION=1:0:0
AC_SUBST(libtool_VERSION)
XCFLAGS="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
+
+# Add CET specific flags if Intel CET is enabled.
+GCC_CET_FLAGS(CET_FLAGS)
+XCFLAGS="$XCFLAGS $CET_FLAGS"
+
AC_SUBST(XCFLAGS)
if test "${multilib}" = "yes"; then