mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Add NEED_CXX_LINKER
This commit is contained in:
parent
3b9b54ba2d
commit
00ff63e0bb
5
Makefile
5
Makefile
@ -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++
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user