Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3 from ehegnes/master
Browse files Browse the repository at this point in the history
Do not define FORTIFY_SOURCE more than once
  • Loading branch information
hugegreenbug committed Nov 17, 2015
2 parents 4b2fd13 + 4d39967 commit 05f67cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ COMMON_CFLAGS-clang := -fstack-protector-all -fvisibility=hidden -ggdb
COMMON_CFLAGS := -Wall -Werror -fno-strict-aliasing -O1 -Wformat=2
CXXFLAGS += $(COMMON_CFLAGS) $(COMMON_CFLAGS-$(CXXDRIVER))
CFLAGS += $(COMMON_CFLAGS) $(COMMON_CFLAGS-$(CDRIVER))
CPPFLAGS += -D_FORTIFY_SOURCE=2
CPPFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2


ifeq ($(MODE),opt)
Expand Down

0 comments on commit 05f67cb

Please sign in to comment.