aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadius2015-09-10 21:02:07 +0100
committerRadius2015-09-10 21:02:07 +0100
commit195f9f6468195838e68f8acbb357dae8cc788860 (patch)
treefbdb890b33a9a729d257b60c86fbb3f595962a73
parent77bc36d80012835392cc82ab7c7be2144864eb68 (diff)
downloadsnes9x2005-195f9f6468195838e68f8acbb357dae8cc788860.tar.gz
snes9x2005-195f9f6468195838e68f8acbb357dae8cc788860.tar.bz2
snes9x2005-195f9f6468195838e68f8acbb357dae8cc788860.zip
3ds fix
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 33f5a5e..06a9498 100644
--- a/Makefile
+++ b/Makefile
@@ -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