mirror of
https://github.com/raspberrypi/userland.git
synced 2025-12-06 04:49:12 +00:00
cmake: Add -marm for building with generic toolchain
This commit is contained in:
@@ -10,7 +10,7 @@ SET(CMAKE_ASM_COMPILER arm-linux-gnueabihf-gcc)
|
||||
SET(CMAKE_SYSTEM_PROCESSOR arm)
|
||||
|
||||
#ADD_DEFINITIONS("-march=armv6")
|
||||
add_definitions("-mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard")
|
||||
add_definitions("-mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -marm")
|
||||
|
||||
# rdynamic means the backtrace should work
|
||||
IF (CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
|
||||
Reference in New Issue
Block a user