aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authorJustin Weiss2020-08-17 19:19:21 -0700
committerJustin Weiss2020-08-23 16:23:00 -0700
commit31f52a9f9ab5c7090f67cb6a80bac09bbb47dbf2 (patch)
treee052d1517f0f77e341c14d26e155980c3db11c4b /Makefile.libretro
parentd56340b165b4a7ef25bc3c7509d4f2315843bc31 (diff)
downloadpcsx_rearmed-31f52a9f9ab5c7090f67cb6a80bac09bbb47dbf2.tar.gz
pcsx_rearmed-31f52a9f9ab5c7090f67cb6a80bac09bbb47dbf2.tar.bz2
pcsx_rearmed-31f52a9f9ab5c7090f67cb6a80bac09bbb47dbf2.zip
[3DS] Support latest libctru
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index 79732b1..625972a 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -208,9 +208,9 @@ else ifeq ($(platform), ctr)
AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT)
CFLAGS += -DARM11 -D_3DS -DNO_OS -DNO_DYLIB -DNO_SOCKET -DGPU_UNAI_USE_FLOATMATH -DGPU_UNAI_USE_FLOAT_DIV_MULTINV
CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard -marm -mfpu=vfp -mtp=soft
- CFLAGS += -Wall -mword-relocations
+ CFLAGS += -Wall -mword-relocations -fcommon
CFLAGS += -fomit-frame-pointer -ffast-math -funroll-loops
- CFLAGS += -Ifrontend/3ds
+ CFLAGS += -Ifrontend/3ds -I$(CTRULIB)/include
CFLAGS += -Werror=implicit-function-declaration
OBJS += frontend/3ds/utils.o