summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-09-10 21:59:24 +0200
committerTycho Bickerstaff <work.tycho@gmail.com>2013-09-10 21:59:33 +0200
commit4c2df0fd2ada5f898332e9737627e2b550731dac (patch)
tree62fbbe5aa7a3d4dcda3a568b9770fe8af89165ed
parentAllow the user to override the compiler using the CC enviromental varible in the makefile (diff)
downloadcuberite-4c2df0fd2ada5f898332e9737627e2b550731dac.tar
cuberite-4c2df0fd2ada5f898332e9737627e2b550731dac.tar.gz
cuberite-4c2df0fd2ada5f898332e9737627e2b550731dac.tar.bz2
cuberite-4c2df0fd2ada5f898332e9737627e2b550731dac.tar.lz
cuberite-4c2df0fd2ada5f898332e9737627e2b550731dac.tar.xz
cuberite-4c2df0fd2ada5f898332e9737627e2b550731dac.tar.zst
cuberite-4c2df0fd2ada5f898332e9737627e2b550731dac.zip
Diffstat (limited to '')
-rw-r--r--GNUmakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 845aca3d9..a18e6a97f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -85,6 +85,13 @@ endif
endif
+###################################################
+ifeq ($(CC),clang++)
+CC_OPTIONS += -Wno-tautological-compare
+endif
+ifeq ($(CC),clang)
+CC_OPTIONS += -Wno-tautological-compare
+endif
###################################################
# Set the link libraries based on the OS