diff options
author | gco <gco@jazzhaiku.com> | 2022-06-10 20:08:40 -0700 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-06-18 23:05:26 +0200 |
commit | 877569a6f3810a3ef8672bd9c056f313e77d2ea1 (patch) | |
tree | de92793737eca220373d1e99893e131f60114557 /GNUmakefile | |
parent | bbc754e2a164cebb1a67a1a12bd3ab338cb0beba (diff) | |
download | mblaze-877569a6f3810a3ef8672bd9c056f313e77d2ea1.tar.gz mblaze-877569a6f3810a3ef8672bd9c056f313e77d2ea1.tar.xz mblaze-877569a6f3810a3ef8672bd9c056f313e77d2ea1.zip |
if -fstack-protector-strong is used, it needs to be specified for both compiling and linking
Closes: #229 [via git-merge-pr]
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 1 |
1 files changed, 1 insertions, 0 deletions
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) |