From 877569a6f3810a3ef8672bd9c056f313e77d2ea1 Mon Sep 17 00:00:00 2001 From: gco Date: Fri, 10 Jun 2022 20:08:40 -0700 Subject: if -fstack-protector-strong is used, it needs to be specified for both compiling and linking Closes: #229 [via git-merge-pr] --- GNUmakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/GNUmakefile b/GNUmakefile index 07a0b1a..c90e938 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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) -- cgit 1.4.1