Skip to content
Snippets Groups Projects
  • H.J. Lu's avatar
    051da742
    libcpp: Enable Intel CET on Intel CET enabled host for jit · 051da742
    H.J. Lu authored
    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.
    051da742
    History
    libcpp: Enable Intel CET on Intel CET enabled host for jit
    H.J. Lu authored
    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.