diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-09-10 21:59:24 +0200 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-09-10 21:59:33 +0200 |
commit | 4c2df0fd2ada5f898332e9737627e2b550731dac (patch) | |
tree | 62fbbe5aa7a3d4dcda3a568b9770fe8af89165ed /GNUmakefile | |
parent | Allow the user to override the compiler using the CC enviromental varible in the makefile (diff) | |
download | cuberite-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 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 7 |
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 |