From 25c194fd1941a7ba67d68a09fa101bc54a756a14 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 16 Jul 2006 08:03:29 +0000 Subject: [PATCH] Add -Werror. --- Rules.mak | 1 + 1 file changed, 1 insertion(+) diff --git a/Rules.mak b/Rules.mak index 6df828c7c..b7a91b63b 100644 --- a/Rules.mak +++ b/Rules.mak @@ -169,6 +169,7 @@ CHECKED_LDFLAGS := $(call check_ld,$(LD),--warn-common,) # Pin CHECKED_CFLAGS with := so it's only evaluated once. CHECKED_CFLAGS:=$(call check_cc,$(CC),-Wall,) +CHECKED_CFLAGS+=$(call check_cc,$(HOSTCC),-Werror,) CHECKED_CFLAGS+=$(call check_cc,$(CC),-Wstrict-prototypes,) CHECKED_CFLAGS+=$(call check_cc,$(CC),-Wshadow,) CHECKED_CFLAGS+=$(call check_cc,$(CC),-funsigned-char,) -- 2.25.1