diff options
author | Rob Landley <rob@landley.net> | 2006-07-16 08:03:29 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-07-16 08:03:29 +0000 |
commit | 25c194fd1941a7ba67d68a09fa101bc54a756a14 (patch) | |
tree | fe5cfd104697b8c6da12176634f847342378c2a2 | |
parent | df822f2606a5c56a8af5785d4e507aff2eeaaace (diff) |
Add -Werror.
-rw-r--r-- | Rules.mak | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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,) |