3DS: Fix compilation flags
Vicki Pfau vi@endrift.com
Fri, 31 Jul 2020 17:29:09 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/3ds/CMakeToolchain.txt
→
src/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")