if -fstack-protector-strong is used, it needs to be specified for both compiling and linking

Closes: #229 [via git-merge-pr]
pull/230/head
gco 2 years ago committed by Leah Neukirchen
parent bbc754e2a1
commit 877569a6f3

@ -1,5 +1,6 @@
CFLAGS?=-g -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2
override CFLAGS:=-Wall -Wno-switch -Wextra $(CFLAGS)
LDFLAGS?=-fstack-protector-strong
LDLIBS=-lrt
OS := $(shell uname)

Loading…
Cancel
Save