diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 16c0a4d..edbcab3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,10 +12,13 @@ AM_CPPFLAGS = \ -DPREFIX=\""$(prefix)"\" \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ -DVERSION=\""$(VERSION)"\" \ - -DEXTERNAL_LUKS2_TOKENS_PATH=\"${EXTERNAL_LUKS2_TOKENS_PATH}\" -AM_CFLAGS = -Wall -fPIE + -DEXTERNAL_LUKS2_TOKENS_PATH=\"${EXTERNAL_LUKS2_TOKENS_PATH}\" \ + -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -Wl,-z,relro +AM_CFLAGS = -Wall -fPIE \ + -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -Wl,-z,relro AM_CXXFLAGS = -Wall -AM_LDFLAGS = -pie +AM_LDFLAGS = -pie \ + -Wl,-z,relro if ENABLE_FUZZ_TARGETS AM_CFLAGS += -fsanitize=fuzzer-no-link |