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

Commit

Permalink
Do not define FORTIFY_SOURCE more than once
Browse files Browse the repository at this point in the history
  • Loading branch information
ehegnes committed Nov 17, 2015
1 parent 4b2fd13 commit 4d39967
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 4d39967

Please sign in to comment.