mirror of https://github.com/mgba-emu/mgba.git
3DS: Fix compilation flags
This commit is contained in:
parent
4807d68482
commit
1a8657315e
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue