commit | 6e1ee9912601ad4208c82df75de5f236b51bfc95 | [log] [tgz] |
---|---|---|
author | Daniel Mentz <danielmentz@google.com> | Wed Mar 05 18:09:41 2014 -0800 |
committer | Daniel Mentz <danielmentz@google.com> | Wed Mar 05 18:37:30 2014 -0800 |
tree | fbb42c604b3158e2738196a29183a2fa56f290c0 | |
parent | 131238c42fa6963532fdfa3ae520dde3a509a1d9 [diff] |
Add -Wall -Werror to CFLAGS Previously, we missed out on compiler warnings that were actual bugs. Change-Id: Icc1e09c29536433de2e36afa33709c324455a44a
diff --git a/libupgrade/Makefile b/libupgrade/Makefile index 8c28db9..df9c334 100644 --- a/libupgrade/Makefile +++ b/libupgrade/Makefile
@@ -9,7 +9,7 @@ RANLIB:=$(CROSS_PREFIX)ranlib STRIP:=$(CROSS_PREFIX)strip -CFLAGS = -g -Os +CFLAGS = -g -Os -Wall -Werror SRCS = hmx_upgrade_flash.c hmx_upgrade_nvram.c INCS = hmx_upgrade_nvram.h hnvram_dlist.h