From: Rob Browning Date: Mon, 11 Nov 2013 18:26:04 +0000 (-0600) Subject: Revert "Makefile: avoid using -Werror with clang for now." X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=edf9bc79ab2b6809ac97340b5f91dbb5c0c6e00d;p=packages%2Fb%2Fbup.git Revert "Makefile: avoid using -Werror with clang for now." Remove the clang -Werror special case after changing the way we handle integer conversions (9ecba738e119654b7231be08232f8c484f8b1a93). This reverts commit 3fdd538a22eae6681df3a59c116f78c237c9ecc7. Thanks to Thomas Klausner for the report. --- diff --git a/Makefile b/Makefile index d2e61a7..62f006c 100644 --- 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)