Skip to content

Commit

Permalink
build: Add -Wl,-z,cet-report=error
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Aug 20, 2024
1 parent cb6977b commit 46e5cd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,7 @@ if test "$use_hardening" != "no"; then

AX_CHECK_COMPILE_FLAG([-fcf-protection=none -fcf-protection=full], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fcf-protection=none -fcf-protection=full"])
HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -mcet-switch -mshstk"
HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,cet-report=error"

case $host in
*mingw*)
Expand Down

0 comments on commit 46e5cd5

Please sign in to comment.