Add NEED_CXX_LINKER

This commit is contained in:
twinaphex 2016-06-26 21:26:21 +02:00
parent 3b9b54ba2d
commit 00ff63e0bb
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
HAVE_FILE_LOGGER=1
NEED_CXX_LINKER=0
MISSING_DECLS =0
ifneq ($(C90_BUILD),)
@ -71,7 +72,9 @@ ifeq ($(CXX_BUILD), 1)
CFLAGS += -DCXX_BUILD
CXXFLAGS += -DCXX_BUILD
else
ifeq ($(findstring Win32,$(OS)),)
ifeq ($(NEED_CXX_LINKER),1)
LINK = $(CXX)
else ifeq ($(findstring Win32,$(OS)),)
LINK = $(CC)
else
# directx-related code is c++

View File

@ -727,6 +727,7 @@ ifneq ($(C90_BUILD), 1)
ifneq ($(HAVE_GLES), 1)
OBJ += cores/libretro-ffmpeg/fft/fft.o
DEFINES += -Ideps -DHAVE_GL_FFT
NEED_CXX_LINKER=1
endif
endif
endif