pandemonium_engine/misc/build-containers-frt/toolchains/linux-arm32v6-gcc.cmake

11 lines
316 B
CMake

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR ARM)
set(archOpts "-march=armv6 -mfpu=vfp -mfloat-abi=hard")
set(ccOpts "")
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
set(CMAKE_C_FLAGS "${archOpts} ${ccOpts}")
set(CMAKE_CXX_FLAGS "${archOpts} ${ccOpts}")