Enhancement #750 » 0003-Add-secure-strict-CFLAGS.patch
src/Makefile.am | ||
---|---|---|
28 | 28 |
BUILT_SOURCES = conf.c conf.h lex.c |
29 | 29 | |
30 | 30 |
AM_CFLAGS=-Wall -Wextra -Werror |
31 |
-O2 \ |
|
32 |
-D_FORTIFY_SOURCE=2 \ |
|
33 |
-fstack-protector-strong -fstack-clash-protection \ |
|
34 |
-Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code \ |
|
35 |
-Wpedantic -Wformat=2 -Wformat-overflow=2 -Wformat-truncation=2 -Wformat-security -Wnull-dereference -Wstack-protector -Wtrampolines -Walloca -Wvla -Warray-bounds=2 -Wimplicit-fallthrough=3 -Wtraditional-conversion -Wshift-overflow=2 -Wcast-qual -Wstringop-overflow=4 -Wconversion -Warith-conversion -Wlogical-op -Wduplicated-cond -Wduplicated-branches -Wformat-signedness -Wshadow -Wstrict-overflow=4 -Wundef -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wstack-usage=1000000 -Wcast-align=strict |
|
31 |
- |