From e384e7263c6068ad68b3b034983f54d6639bb3bd Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 13 Oct 2016 00:19:27 +0100 Subject: [PATCH] Use CPPFLAGS instead of CXXFLAGS for the _XOPEN_SOURCE define --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index c5100470..46893db8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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