aboutsummaryrefslogtreecommitdiff
path: root/libcc1/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-12 09:12:26 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-05-12 09:12:37 -0700
commitaf3bef0ea257f53e79319bc25086b8293bb27323 (patch)
tree8e973c1c3e0908a1c110f82de6c1e657a2d9f998 /libcc1/configure.ac
parent2a2dea6b63ae600eb1d084c06d8a3ba42c66dd6b (diff)
downloadgcc-af3bef0ea257f53e79319bc25086b8293bb27323.zip
gcc-af3bef0ea257f53e79319bc25086b8293bb27323.tar.gz
gcc-af3bef0ea257f53e79319bc25086b8293bb27323.tar.bz2
libcc1: Enable Intel CET on Intel CET enabled host
Since on Intel CET enabled host, dlopen in Intel CET enabled applications fails on shared libraries which aren't Intel CET enabled, enable Intel CET in libcc1 on Intel CET enabled host. * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS). * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and AC_SUBST(CET_HOST_FLAGS). * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise.
Diffstat (limited to 'libcc1/configure.ac')
-rw-r--r--libcc1/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcc1/configure.ac b/libcc1/configure.ac
index 7f20f0b..8d3b8d1 100644
--- a/libcc1/configure.ac
+++ b/libcc1/configure.ac
@@ -45,6 +45,9 @@ if test "$GXX" = yes; then
fi
AC_SUBST(visibility)
+GCC_CET_HOST_FLAGS(CET_HOST_FLAGS)
+AC_SUBST(CET_HOST_FLAGS)
+
AC_CHECK_DECLS([basename])
GCC_BASE_VER