diff options
author | Radius | 2015-09-10 21:02:07 +0100 |
---|---|---|
committer | Radius | 2015-09-10 21:02:07 +0100 |
commit | 195f9f6468195838e68f8acbb357dae8cc788860 (patch) | |
tree | fbdb890b33a9a729d257b60c86fbb3f595962a73 | |
parent | 77bc36d80012835392cc82ab7c7be2144864eb68 (diff) | |
download | snes9x2005-195f9f6468195838e68f8acbb357dae8cc788860.tar.gz snes9x2005-195f9f6468195838e68f8acbb357dae8cc788860.tar.bz2 snes9x2005-195f9f6468195838e68f8acbb357dae8cc788860.zip |
3ds fix
-rw-r--r-- | Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -154,10 +154,15 @@ else ifeq ($(platform), vita) # CTR (3DS) else ifeq ($(platform), ctr) - TARGET := $(TARGET_NAME)_libretro_ctr.a - CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT) - CXX = $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT) - AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT) + TARGET := $(TARGET_NAME)_libretro_ctr.a + CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT) + CXX = $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT) + AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT) + CFLAGS += -DARM11 -D_3DS + CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard + CFLAGS += -Wall -mword-relocations + CFLAGS += -fomit-frame-pointer -ffast-math + CFLAGS += -D_3DS PLATFORM_DEFINES := -D_3DS STATIC_LINKING = 1 |