[PATCH 5/7] Makefile.am: Fix clang again
Tim Hentenaar <[email protected]> Sun, 5 Jul 2015 15:10:52 +0200
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
--- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 2361535..487d693 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,8 +19,8 @@ LIBS = @LIBINTL@ @LIBS@ MAINTAINERCLEANFILES= Makefile.in libgettext.h # Only pass -ansi and -pedantic via CC otherwise clang compains -CCLD := $(CC) -CC := $(CC) -ansi -pedantic +CC += -ansi -pedantic +CCLD = $(filter-out -ansi,$(CC)) AM_CFLAGS = -Wall -W -Werror -Wredundant-decls -Wshadow -Wstrict-prototypes AM_CFLAGS += -Wmissing-prototypes -Wnested-externs -Wmissing-declarations AM_CFLAGS += -Wcomment -Wbad-function-cast -Wcast-align -- 2.3.6