aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOri Avtalion2010-04-09 12:23:43 +0000
committerOri Avtalion2010-04-09 12:23:43 +0000
commitf2f0e1aa67dda73aeba9caa6dd62edbfbf992947 (patch)
tree44df43525fe2f837c646caeb55c3f70680dd9493 /Makefile
parent7d97ee48e6c903ba850e38fb3b76c14e75b23e85 (diff)
downloadscummvm-rg350-f2f0e1aa67dda73aeba9caa6dd62edbfbf992947.tar.gz
scummvm-rg350-f2f0e1aa67dda73aeba9caa6dd62edbfbf992947.tar.bz2
scummvm-rg350-f2f0e1aa67dda73aeba9caa6dd62edbfbf992947.zip
Simplify GCC version tests, add support for the clang compiler
svn-id: r48594
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3ad8bff09f..66861d05e8 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,10 @@ ifeq "$(HAVE_GCC)" "1"
#CXXFLAGS+= -O -Wuninitialized
endif
+ifeq "$(HAVE_CLANG)" "1"
+ CXXFLAGS+= -Wno-conversion -Wno-shorten-64-to-32 -Wno-sign-compare -Wno-four-char-constants
+endif
+
#######################################################################
# Default commands - put the necessary replacements in config.mk #
#######################################################################