mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 08:15:46 -04:00
CI: Generate armv7 libretro cores
This commit is contained in:
14
CMakeModules/armv7-cross-toolchain.cmake
Normal file
14
CMakeModules/armv7-cross-toolchain.cmake
Normal file
@ -0,0 +1,14 @@
|
||||
# Source: https://github.com/stenzek/duckstation/issues/626#issuecomment-660718306
|
||||
|
||||
# Target system
|
||||
SET(CMAKE_SYSTEM_NAME Linux)
|
||||
SET(CMAKE_SYSTEM_PROCESSOR armv7l)
|
||||
SET(CMAKE_SYSTEM_VERSION 1)
|
||||
set(CMAKE_CROSSCOMPILING TRUE)
|
||||
|
||||
# Cross compiler
|
||||
SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
|
||||
SET(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE arm-linux-gnueabihf)
|
||||
|
||||
set(THREADS_PTHREAD_ARG "0" CACHE STRING "Result from TRY_RUN" FORCE)
|
Reference in New Issue
Block a user