From 12a87d1c3fdd189f017803fadd91fa3ca04902a1 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Tue, 24 Mar 2020 09:48:17 +0100 Subject: [PATCH] ctr.cmake: Add more variable for AR and RANLIB Should fix the compile error on buildbot --- cmake/ctr.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/ctr.cmake b/cmake/ctr.cmake index c0dc12bd..8d48c594 100644 --- a/cmake/ctr.cmake +++ b/cmake/ctr.cmake @@ -1,7 +1,11 @@ set(CMAKE_C_COMPILER "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc") set(CMAKE_CXX_COMPILER "$ENV{DEVKITARM}/bin/arm-none-eabi-g++") set(CMAKE_AR "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ar") +set(CMAKE_C_COMPILER_AR "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ar") +set(CMAKE_CXX_COMPILER_AR "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ar") set(CMAKE_RANLIB "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ranlib") +set(CMAKE_C_COMPILER_RANLIB "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ranlib") set(CMAKE_SYSTEM_PROCESSOR armv6k) set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_CROSSCOMPILING ON)