all repos — mgba @ 12f9dd1782a1630c65479d9aee2fc865dab2db3b

mGBA Game Boy Advance Emulator

3DS: Fix build from scratch
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Feb 2016 00:53:58 -0800
commit

12f9dd1782a1630c65479d9aee2fc865dab2db3b

parent

3283c365da1fffaa08e3ba0046ef452f7f1956ec

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

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

@@ -25,7 +25,7 @@ set(CMAKE_PROGRAM_PATH ${DEVKITARM}/bin)

set(cross_prefix ${CMAKE_PROGRAM_PATH}/arm-none-eabi-) set(arch_flags "-march=armv6k -mtune=mpcore -mfpu=vfp -mfloat-abi=hard") set(inc_flags "-I${CTRULIB}/include ${arch_flags} -mword-relocations") -set(link_flags "-L${CTRULIB}/lib -specs=3dsx.specs ${arch_flags}") +set(link_flags "-L${CTRULIB}/lib -lctru -specs=3dsx.specs ${arch_flags}") set(CMAKE_SYSTEM_NAME Generic CACHE INTERNAL "system name") set(CMAKE_SYSTEM_PROCESSOR arm CACHE INTERNAL "processor")