diff options
author | Bradley Sepos <[email protected]> | 2020-01-11 08:57:01 -0500 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2020-01-12 16:26:04 -0500 |
commit | bb20678e6346e553e2a3065441a0c214b54db16a (patch) | |
tree | c4e63e21e0f28c9ef9b913be5455a4fe92d8381b | |
parent | 2796d8964c8feff45a73cb670eefb0c2fcb5ba86 (diff) |
make: Fix redundant flags added with harden.
(cherry picked from commit facc52c90b6b41ee180dc2a20fb3e142a3016359)
-rw-r--r-- | make/include/gcc.defs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/include/gcc.defs b/make/include/gcc.defs index d9aa6fdc3..1f1c7d8dd 100644 --- a/make/include/gcc.defs +++ b/make/include/gcc.defs @@ -90,7 +90,7 @@ GCC.args.extra.exe++ = $(LDFLAGS) # checking against static sized buffer overflow flaws. -fstack-protector-strong enables # stack canaries to detect stack buffer overflows (stack overwrites). ifeq (1,$(SECURITY.harden)) - GCC.args.extra += $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) -fstack-protector-strong -D_FORTIFY_SOURCE=2 + GCC.args.extra += -fstack-protector-strong -D_FORTIFY_SOURCE=2 GCC.args.extra.exe += -fstack-protector-strong endif |