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

pull/229/head
gco 2 years ago
parent bb3dacc604
commit 35441478ad

@ -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