ctr: Attempt to add CMAKE_C{,XX}_ARCHIVE_CREATE

Version of cmake on buildbot apparently has a different CMAKE_CXX_ARCHIVE_CREATE than my local one. Try to set them to the same
This commit is contained in:
Vladimir Serbinenko 2020-03-24 17:38:40 +01:00
parent 41455ea129
commit 3710f866b5

View File

@ -3,6 +3,8 @@ 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_C_ARCHIVE_CREATE "<CMAKE_AR> qc <TARGET> <LINK_FLAGS> <OBJECTS>")
set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> qc <TARGET> <LINK_FLAGS> <OBJECTS>")
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")