Skip to content

Commit

Permalink
Merge pull request #36 from wolfmcnally/master
Browse files Browse the repository at this point in the history
Add compiler hardening flags to tests.
  • Loading branch information
wolfmcnally authored Aug 16, 2021
2 parents 99f409f + 0e2da37 commit abc24ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ RED=`tput setaf 1`
GREEN=`tput setaf 2`
RESET=`tput sgr0`

CFLAGS += -g -O0
CPPFLAGS += -D_FORTIFY_SOURCE=2
CFLAGS += -g -O2 -fstack-protector-all

.PHONY: all
all: test
Expand Down

0 comments on commit abc24ba

Please sign in to comment.