summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-11 20:36:51 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-11 20:36:51 +0100
commit0fc4a1ee06199db80edd4a9f79a4ba1c4369f656 (patch)
tree2442d2557d76fb9230504ce6a55a9fd0808523c4 /SetFlags.cmake
parentFixed Warnings in PieceGenerator (diff)
downloadcuberite-0fc4a1ee06199db80edd4a9f79a4ba1c4369f656.tar
cuberite-0fc4a1ee06199db80edd4a9f79a4ba1c4369f656.tar.gz
cuberite-0fc4a1ee06199db80edd4a9f79a4ba1c4369f656.tar.bz2
cuberite-0fc4a1ee06199db80edd4a9f79a4ba1c4369f656.tar.lz
cuberite-0fc4a1ee06199db80edd4a9f79a4ba1c4369f656.tar.xz
cuberite-0fc4a1ee06199db80edd4a9f79a4ba1c4369f656.tar.zst
cuberite-0fc4a1ee06199db80edd4a9f79a4ba1c4369f656.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index d9308f603..25310c368 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -187,8 +187,8 @@ macro(set_exe_flags)
# we support non-IEEE 754 fpus so can make no guarentees about error
add_flags_cxx("-ffast-math")
- # clang does not provide the __extern_always_inline macro and a part of libm depends on this when using fast-math
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ # clang does not provide the __extern_always_inline macro and a part of libm depends on this when using fast-math
add_flags_cxx("-D__extern_always_inline=inline")
add_flags_cxx("-Werror -Weverything -Wno-c++98-compat-pedantic -Wno-string-conversion")
add_flags_cxx("-Wno-extra-semi -Wno-error=switch-enum -Wno-documentation")