1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-30 23:37:17 +03:00

Use CPPFLAGS instead of CXXFLAGS for the _XOPEN_SOURCE define

This commit is contained in:
Maxime Coste 2016-10-13 00:19:27 +01:00
parent f7e2bfd76f
commit e384e7263c

View File

@ -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