all repos — mgba @ 4a50c8896f10536039fc2ddfe9f460bb713f4f8d

mGBA Game Boy Advance Emulator

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

4a50c8896f10536039fc2ddfe9f460bb713f4f8d

parent

5219c73cab15dd837d484a11d63b644e720c2b19

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")