cmake: Add -marm for building with generic toolchain

This commit is contained in:
popcornmix
2016-02-01 21:06:24 +00:00
parent f799ee0ba2
commit 190bf8cb4b

View File

@@ -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")