summaryrefslogtreecommitdiffstats
path: root/build-root/Makefile
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-01-20 09:03:30 +0000
committerDamjan Marion <dmarion@me.com>2021-01-20 11:00:11 +0000
commit2a81d9a4cc3436d63dad618ec654572343e89257 (patch)
tree6f71de21fdb617c5bd9c697a0baef630fed5b962 /build-root/Makefile
parentdf849f8ea8750e934a7a2c9ea2d5628b0c209056 (diff)
build: add the missing leading underscore to FORTIFY_SOURCE
Type: fix Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: I36f2d08681f90a3f8ea7598952d1e14c53f0187b
Diffstat (limited to 'build-root/Makefile')
-rw-r--r--build-root/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-root/Makefile b/build-root/Makefile
index 7f8d7752357..6d1fb327dac 100644
--- a/build-root/Makefile
+++ b/build-root/Makefile
@@ -243,11 +243,11 @@ TAG_PREFIX = $(if $(TAG),$(TAG)-)
tag_var_with_added_space_fn = $(if $($(TAG)_TAG_$(1)),$($(TAG)_TAG_$(1)) )
# TAG=debug for debugging
-debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -march=$(MARCH) \
+debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -D_FORTIFY_SOURCE=2 -march=$(MARCH) \
-fstack-protector-all -fPIC
-debug_TAG_CXXFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -march=$(MARCH) \
+debug_TAG_CXXFLAGS = -g -O0 -DCLIB_DEBUG -D_FORTIFY_SOURCE=2 -march=$(MARCH) \
-fstack-protector-all -fPIC
-debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -march=$(MARCH) \
+debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -D_FORTIFY_SOURCE=2 -march=$(MARCH) \
-fstack-protector-all -fPIC
BUILD_PREFIX_package = build-$(TAG_PREFIX)