add: cmake toolchain for raspberry pi 1
This commit is contained in:
parent
9b44482f7c
commit
00efbe6d93
1 changed files with 5 additions and 0 deletions
5
toolchain-rpi.cmake
Normal file
5
toolchain-rpi.cmake
Normal file
|
@ -0,0 +1,5 @@
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -marm")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=vfp")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv6zk+fp")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=arm1176jzf-s")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mtune=arm1176jzf-s")
|
Loading…
Reference in a new issue