all repos — mgba @ 6a3e1f49956f32c3e55ca93132bd44b4c66e7079

mGBA Game Boy Advance Emulator

Wii: Enable building with LTO
Jeffrey Pfau jeffrey@endrift.com
Mon, 31 Aug 2015 21:55:04 -0700
commit

6a3e1f49956f32c3e55ca93132bd44b4c66e7079

parent

2a37d38a92219a582afef70392687618fda4f83b

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

jump to
M src/platform/wii/CMakeToolchain.txtsrc/platform/wii/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 powerpc-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 "archiver") 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")