diff options
author | Zack Piper <zack.piper123@gmail.com> | 2015-07-24 20:02:03 +0200 |
---|---|---|
committer | Zack Piper <zack.piper123@gmail.com> | 2015-07-24 20:02:03 +0200 |
commit | 2a3f0de94d4df12d6901897cc8964d92f38321d6 (patch) | |
tree | 15529c9cbc47603bb893b494bf871d6e67520e8f | |
parent | Merge pull request #2383 from cuberite/GoogleTestFix (diff) | |
download | cuberite-2a3f0de94d4df12d6901897cc8964d92f38321d6.tar cuberite-2a3f0de94d4df12d6901897cc8964d92f38321d6.tar.gz cuberite-2a3f0de94d4df12d6901897cc8964d92f38321d6.tar.bz2 cuberite-2a3f0de94d4df12d6901897cc8964d92f38321d6.tar.lz cuberite-2a3f0de94d4df12d6901897cc8964d92f38321d6.tar.xz cuberite-2a3f0de94d4df12d6901897cc8964d92f38321d6.tar.zst cuberite-2a3f0de94d4df12d6901897cc8964d92f38321d6.zip |
Diffstat (limited to '')
-rw-r--r-- | SetFlags.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake index 57cab5a1c..ca5f1d289 100644 --- a/SetFlags.cmake +++ b/SetFlags.cmake @@ -94,6 +94,10 @@ macro(set_flags) OUTPUT_VARIABLE GCC_VERSION) endif() + if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm") + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}" "-fomit-frame-pointer") + endif() + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11") set(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_COVERAGE} -std=c++11") |