diff options
author | Igor Tsimbalist <igor.v.tsimbalist@intel.com> | 2017-11-17 22:18:15 +0100 |
---|---|---|
committer | Igor Tsimbalist <itsimbal@gcc.gnu.org> | 2017-11-17 22:18:15 +0100 |
commit | efc643e90d0e75d3e003644404d4e29f84f274e6 (patch) | |
tree | 8b2c49c6371bafb0cc4c2febc9cee707d8d0271f /libatomic/configure.ac | |
parent | 44685d378f723f8cd54770a445b6dfeab085ac99 (diff) | |
download | gcc-efc643e90d0e75d3e003644404d4e29f84f274e6.tar.gz |
Enable building libatomic with Intel CET
libatomic/
* configure.ac: Set CET_FLAGS, update XCFLAGS.
* acinclude.m4: Add cet.m4 and enable.m4.
* configure: Regenerate.
* Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
From-SVN: r254893
Diffstat (limited to 'libatomic/configure.ac')
-rw-r--r-- | libatomic/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libatomic/configure.ac b/libatomic/configure.ac index 023f1727b1e..bf7315e78d1 100644 --- a/libatomic/configure.ac +++ b/libatomic/configure.ac @@ -238,6 +238,10 @@ if test "x$GCC" = "xyes"; then XCFLAGS="$XCFLAGS -Wall -Werror" fi +# Add CET specific flags if CET is enabled +GCC_CET_FLAGS(CET_FLAGS) +XCFLAGS="$XCFLAGS $CET_FLAGS" + XCFLAGS="$XCFLAGS $XPCFLAGS" AC_SUBST(config_path) |