libcpp: 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.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2020-05-08 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
Reimplement directives only processing, support raw literals.
|
||||
|
||||
Reference in New Issue
Block a user