all repos — mgba @ 1a8657315e26f25190bfe24c75327f16974acf01

mGBA Game Boy Advance Emulator

3DS: Fix compilation flags
Vicki Pfau vi@endrift.com
Fri, 31 Jul 2020 17:29:09 -0700
commit

1a8657315e26f25190bfe24c75327f16974acf01

parent

4807d684825af75f16b19cd03a4dbbd6520f4a60

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/3ds/CMakeToolchain.txtsrc/platform/3ds/CMakeToolchain.txt

@@ -7,7 +7,7 @@ set(CTRULIB ${DEVKITPRO}/libctru)

endif() set(cross_prefix arm-none-eabi-) -set(arch_flags "-march=armv6k -mtune=mpcore -mfloat-abi=hard -ffunction-sections") +set(arch_flags "-march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -ffunction-sections") set(inc_flags "-I${CTRULIB}/include ${arch_flags} -mword-relocations") set(link_flags "-L${CTRULIB}/lib -lctru -specs=3dsx.specs ${arch_flags} -Wl,--gc-sections")