diff options
| author | June McEnroe <june@causal.agency> | 2026-06-01 14:39:52 -0400 |
|---|---|---|
| committer | June McEnroe <june@causal.agency> | 2026-06-01 14:39:52 -0400 |
| commit | 8de0a43b1db624a766efd3d78a60403e77ce39e0 (patch) | |
| tree | 630a8490c3773b78d50582691dff4d9c60a607d4 /m4 | |
| parent | Import LibreSSL 3.8.4 (diff) | |
| download | libretls-8de0a43b1db624a766efd3d78a60403e77ce39e0.tar.gz libretls-8de0a43b1db624a766efd3d78a60403e77ce39e0.zip | |
Import LibreSSL 3.9.0
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/check-hardening-options.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/check-hardening-options.m4 b/m4/check-hardening-options.m4 index 4b5784b..2cb3083 100644 --- a/m4/check-hardening-options.m4 +++ b/m4/check-hardening-options.m4 @@ -94,6 +94,11 @@ AC_DEFUN([CHECK_C_HARDENING_OPTIONS], [ AC_SEARCH_LIBS([__stack_chk_guard],[ssp]) ]) ]) + + # Check for control-flow integrity support + AS_IF([test "x$HOST_OS" != "xdarwin"], [ + CHECK_CFLAG([[-fcf-protection=full]]) + ]) ]) # Restore CC, LD |