diff options
author | Loïc Blot <loic.blot@unix-experience.fr> | 2018-12-04 16:45:07 +0100 |
---|---|---|
committer | Loïc Blot <loic.blot@unix-experience.fr> | 2018-12-04 16:45:07 +0100 |
commit | b362e04ebfe5b7fc947ab4dc79e5c0e0c14fbfb6 (patch) | |
tree | 31fa0272196951b956d9f65e3588434c4dee2f31 /src/CMakeLists.txt | |
parent | 75a26b10abfdff4596584c057f05bceef76b55c7 (diff) | |
download | minetest-b362e04ebfe5b7fc947ab4dc79e5c0e0c14fbfb6.tar.gz minetest-b362e04ebfe5b7fc947ab4dc79e5c0e0c14fbfb6.tar.bz2 minetest-b362e04ebfe5b7fc947ab4dc79e5c0e0c14fbfb6.zip |
Revert "Fix another GCC warning"
This reverts commit e6811184d5824bf7d8febc157495dbecd3e4e0f7.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c73b15533..8218d586c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,7 +6,7 @@ INCLUDE(CheckIncludeFiles) INCLUDE(CheckLibraryExists) # Add custom SemiDebug build mode -set(CMAKE_CXX_FLAGS_SEMIDEBUG "-O1 -g -Wall -Wabi=11" CACHE STRING +set(CMAKE_CXX_FLAGS_SEMIDEBUG "-O1 -g -Wall -Wabi" CACHE STRING "Flags used by the C++ compiler during semidebug builds." FORCE ) @@ -724,8 +724,8 @@ else() else() set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ffast-math -fomit-frame-pointer") endif(CMAKE_SYSTEM_NAME MATCHES "(Darwin|FreeBSD)") - set(CMAKE_CXX_FLAGS_SEMIDEBUG "-g -O1 -Wall -Wabi=11 ${WARNING_FLAGS} ${OTHER_FLAGS}") - set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wabi=11 ${WARNING_FLAGS} ${OTHER_FLAGS}") + set(CMAKE_CXX_FLAGS_SEMIDEBUG "-g -O1 -Wall -Wabi ${WARNING_FLAGS} ${OTHER_FLAGS}") + set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wabi ${WARNING_FLAGS} ${OTHER_FLAGS}") if(USE_GPROF) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -pg") |