all repos — mgba @ 52048db173c8d41403a7c203bc402d7ffbe5627f

mGBA Game Boy Advance Emulator

3DS: Support LTO
Jeffrey Pfau jeffrey@endrift.com
Tue, 01 Sep 2015 00:47:34 -0700
commit

52048db173c8d41403a7c203bc402d7ffbe5627f

parent

0abe9f524db9b1ebeba04109e3463876222809e0

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

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

@@ -19,7 +19,8 @@

set(CMAKE_SYSTEM_NAME Generic CACHE INTERNAL "system name") set(CMAKE_SYSTEM_PROCESSOR arm CACHE INTERNAL "processor") set(CMAKE_LIBRARY_ARCHITECTURE arm-none-eabi CACHE INTERNAL "abi") -set(CMAKE_AR ${cross_prefix}ar CACHE INTERNAL "archiver") +set(CMAKE_AR ${cross_prefix}gcc-ar CACHE INTERNAL "archiver") +set(CMAKE_RANLIB ${cross_prefix}gcc-ranlib CACHE INTERNAL "ranlib") set(CMAKE_C_COMPILER ${cross_prefix}gcc CACHE INTERNAL "c compiler") set(CMAKE_CXX_COMPILER ${cross_prefix}g++ CACHE INTERNAL "cxx compiler") set(CMAKE_ASM_COMPILER ${cross_prefix}gcc CACHE INTERNAL "assembler")