From f3521e4cc84a48deeb97a14a8d5a1aca4e8275b0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 27 Apr 2016 22:54:33 +0200 Subject: [PATCH] Fix CXX_BUILD --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bcf331d68c..827a723cc8 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,9 @@ OBJCFLAGS := $(CFLAGS) -D__STDC_CONSTANT_MACROS ifeq ($(CXX_BUILD), 1) LINK = $(CXX) - CFLAGS := $(CXXFLAGS) -xc++ + CFLAGS := $(CXXFLAGS) -xc++ + CFLAGS += -DCXX_BUILD + CXXFLAGS += -DCXX_BUILD else ifeq ($(findstring Win32,$(OS)),) LINK = $(CC)