mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
cmake: propagate CROSS_COMPILER_PREFIX
Mark CROSS_COMPILER_PREFIX as meaningful to gcc.cmake, so that it is propagated for all cases where gcc.cmake used. Signed-off-by: Nick Spinale <nick@nickspinale.com>
This commit is contained in:
committed by
Gerwin Klein
parent
5df6964782
commit
9ec543ce5a
@@ -145,6 +145,8 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
||||
|
||||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
|
||||
|
||||
set(CMAKE_TRY_COMPILE_PLATFORM_VARIABLES CROSS_COMPILER_PREFIX)
|
||||
|
||||
mark_as_advanced(FORCE CMAKE_TOOLCHAIN_FILE)
|
||||
|
||||
# Invoke compiler via ccache. This has no effect if ccache cannot be found.
|
||||
|
||||
Reference in New Issue
Block a user