summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-03-08 16:21:09 +0100
committerworktycho <work.tycho@gmail.com>2014-03-08 16:21:09 +0100
commit10a973abbc42bc26a8c37df4151470118348bd3c (patch)
treefc0a30baf5c7143d72d3b1434c24ae6ba7e9995e /SetFlags.cmake
parentMerge branch 'master' into warnings (diff)
downloadcuberite-10a973abbc42bc26a8c37df4151470118348bd3c.tar
cuberite-10a973abbc42bc26a8c37df4151470118348bd3c.tar.gz
cuberite-10a973abbc42bc26a8c37df4151470118348bd3c.tar.bz2
cuberite-10a973abbc42bc26a8c37df4151470118348bd3c.tar.lz
cuberite-10a973abbc42bc26a8c37df4151470118348bd3c.tar.xz
cuberite-10a973abbc42bc26a8c37df4151470118348bd3c.tar.zst
cuberite-10a973abbc42bc26a8c37df4151470118348bd3c.zip
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r--SetFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 35831e7e9..6a8211fa2 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -182,7 +182,7 @@ macro(set_exe_flags)
string(REPLACE "-w" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
string(REPLACE "-w" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
string(REPLACE "-w" "" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
- add_flags_cxx("-Wall -Wextra -Werror -Wno-error=unused-parameter")
+ add_flags_cxx("-Wall -Wextra")
# we support non-IEEE 754 fpus so can make no guarentees about error
add_flags_cxx("-ffast-math")