3DS: Fix compilation flags

This commit is contained in:
Vicki Pfau 2020-07-31 17:29:09 -07:00
parent 4807d68482
commit 1a8657315e
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ else()
endif() endif()
set(cross_prefix arm-none-eabi-) 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(inc_flags "-I${CTRULIB}/include ${arch_flags} -mword-relocations")
set(link_flags "-L${CTRULIB}/lib -lctru -specs=3dsx.specs ${arch_flags} -Wl,--gc-sections") set(link_flags "-L${CTRULIB}/lib -lctru -specs=3dsx.specs ${arch_flags} -Wl,--gc-sections")