]> arthur.barton.de Git - bup.git/commitdiff
Revert "Makefile: avoid using -Werror with clang for now."
authorRob Browning <rlb@defaultvalue.org>
Mon, 11 Nov 2013 18:26:04 +0000 (12:26 -0600)
committerRob Browning <rlb@defaultvalue.org>
Mon, 11 Nov 2013 18:26:37 +0000 (12:26 -0600)
Remove the clang -Werror special case after changing the way we handle
integer conversions (9ecba738e119654b7231be08232f8c484f8b1a93).

This reverts commit 3fdd538a22eae6681df3a59c116f78c237c9ecc7.

Thanks to Thomas Klausner <tk@giga.or.at> for the report.

Makefile

index d2e61a7cb3d4c5964fcbdc1f3680364c26b148ca..62f006c6dbf24d4a9f6290c740657e57c84bac9e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,5 @@
 OS:=$(shell uname | sed 's/[-_].*//')
-
-ifeq ($(shell $(CC) --version | grep clang),)
-       CFLAGS := -Wall -Werror -O2 $(PYINCLUDE) $(CFLAGS)
-else # clang
-       CFLAGS := -Wall -O2 $(PYINCLUDE) $(CFLAGS)
-endif
-
+CFLAGS := -Wall -O2 -Werror $(PYINCLUDE) $(CFLAGS)
 SOEXT:=.so
 
 ifeq ($(OS),CYGWIN)