diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-05-12 09:14:52 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-05-12 09:14:52 -0700 |
commit | 7e9c5bb0fd22fb4573d270de241d9b56de17f7f5 (patch) | |
tree | 41e2ea871bc671a84d0f8309b86aa229bdf01d59 /gcc/aclocal.m4 | |
parent | af3bef0ea257f53e79319bc25086b8293bb27323 (diff) | |
download | gcc-7e9c5bb0fd22fb4573d270de241d9b56de17f7f5.zip gcc-7e9c5bb0fd22fb4573d270de241d9b56de17f7f5.tar.gz gcc-7e9c5bb0fd22fb4573d270de241d9b56de17f7f5.tar.bz2 |
gcc: Enable Intel CET on Intel CET enabled host for jit
Since on Intel CET enabled host, dlopen in Intel CET enabled applications
fails on shared libraries which aren't Intel CET enabled, compile with
-fcf-protection on Intel CET enabled host when jit is enabled to enable
Intel CET on libgccjit.
* Makefile.in (CET_HOST_FLAGS): New.
(COMPILER): Add $(CET_HOST_FLAGS).
* configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
AC_SUBST(CET_HOST_FLAGS). Clear CET_HOST_FLAGS if jit isn't
enabled.
* aclocal.m4: Regenerated.
* configure: Likewise.
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r-- | gcc/aclocal.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index e208071..1737d59 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -18,9 +18,11 @@ m4_include([../ltsugar.m4]) m4_include([../ltversion.m4]) m4_include([../lt~obsolete.m4]) m4_include([../config/acx.m4]) +m4_include([../config/cet.m4]) m4_include([../config/codeset.m4]) m4_include([../config/depstand.m4]) m4_include([../config/dfp.m4]) +m4_include([../config/enable.m4]) m4_include([../config/gcc-plugin.m4]) m4_include([../config/gettext-sister.m4]) m4_include([../config/iconv.m4]) |