--- 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 _______________________________________________ bug-indent mailing list bug-indent@gnu.org https://lists.gnu.org/mailman/listinfo/bug-indent