Skip to content

Commit

Permalink
build: Check for IBT and SHSTK properties in .note.gnu.property section
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Aug 21, 2024
1 parent 9b641b7 commit 1d97b53
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,11 @@ if test "$use_hardening" != "no"; then
AX_CHECK_COMPILE_FLAG([-fcf-protection=full], [
HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fcf-protection=full"
HARDENED_CFLAGS="$HARDENED_CFLAGS -fcf-protection=full"
case $host in
*x86_64*linux*)
HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,cet-report=error"
;;
esac
])

case $host in
Expand Down

0 comments on commit 1d97b53

Please sign in to comment.