diff options
Diffstat (limited to '')
-rw-r--r-- | SetFlags.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake index 18d5be236..c0192f4ab 100644 --- a/SetFlags.cmake +++ b/SetFlags.cmake @@ -109,6 +109,7 @@ macro(set_flags) if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fomit-frame-pointer") + set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fomit-frame-pointer") endif() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |