mirror of
https://github.com/libretro/blueMSX-libretro.git
synced 2024-11-27 02:30:41 +00:00
Fix libnx compilation
This commit is contained in:
parent
0ba1db4142
commit
fe500b789a
@ -322,7 +322,9 @@ else ifeq ($(platform), libnx)
|
||||
include $(DEVKITPRO)/libnx/switch_rules
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).a
|
||||
PLATFORM_DEFINES += -I$(LIBNX)/include/ -specs=$(LIBNX)/switch.specs
|
||||
PLATFORM_DEFINES += -D__SWITCH__ -DHAVE_LIBNX -DARM -march=armv8-a -mtune=cortex-a57 -mtp=soft
|
||||
PLATFORM_DEFINES += -D__SWITCH__ -DHAVE_LIBNX -DARM -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIC
|
||||
CFLAGS += -fPIC
|
||||
CXXFLAGS += -fPIC
|
||||
STATIC_LINKING = 1
|
||||
HAVE_COMPAT = 1
|
||||
|
||||
|
@ -109,7 +109,7 @@ void archGlobFree(ArchGlob* globHandle)
|
||||
|
||||
#else
|
||||
#include "ArchGlob.h"
|
||||
#if defined(PSP) || defined(__CELLOS_LV2__) || defined(ANDROID) || defined(WIIU) || defined(_XBOX) || defined(VITA) || defined(_3DS)
|
||||
#if defined(PSP) || defined(__CELLOS_LV2__) || defined(ANDROID) || defined(WIIU) || defined(_XBOX) || defined(VITA) || defined(_3DS) || defined(__SWITCH__)
|
||||
/* TODO/FIXME - might want to turn this into more generic define that we
|
||||
* flick on for consoles/portables */
|
||||
#include "psp/diet-glob.h"
|
||||
|
Loading…
Reference in New Issue
Block a user