From f2f0e1aa67dda73aeba9caa6dd62edbfbf992947 Mon Sep 17 00:00:00 2001 From: Ori Avtalion Date: Fri, 9 Apr 2010 12:23:43 +0000 Subject: Simplify GCC version tests, add support for the clang compiler svn-id: r48594 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 # ####################################################################### -- cgit v1.2.3