Fix CXX_BUILD

This commit is contained in:
twinaphex 2016-04-27 22:54:33 +02:00
parent cf74d1b853
commit f3521e4cc8

View File

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