Use CPPFLAGS instead of CXXFLAGS for the _XOPEN_SOURCE define
This commit is contained in:
parent
f7e2bfd76f
commit
e384e7263c
|
@ -50,7 +50,7 @@ else ifeq ($(os),DragonFly)
|
|||
CPPFLAGS += -I/usr/local/include
|
||||
LDFLAGS += -L/usr/local/lib
|
||||
else ifneq (,$(findstring CYGWIN,$(os)))
|
||||
CXXFLAGS += -D_XOPEN_SOURCE=700
|
||||
CPPFLAGS += -D_XOPEN_SOURCE=700
|
||||
LIBS += -lncursesw -lboost_regex -ldbghelp
|
||||
else
|
||||
LIBS += -lncursesw -lboost_regex
|
||||
|
|
Loading…
Reference in New Issue
Block a user