Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: src/platform/vboot_reference/utils/Makefile

Issue 744002: Vboot Reference: Make length types explicitly sized. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/utils/Makefile
diff --git a/src/platform/vboot_reference/utils/Makefile b/src/platform/vboot_reference/utils/Makefile
index f2f7e10e6cf5fade170adbfa781f5ef0f44c1b0c..6d5546e12786c0332e1c47b425ebbb97126d3638 100644
--- a/src/platform/vboot_reference/utils/Makefile
+++ b/src/platform/vboot_reference/utils/Makefile
@@ -4,7 +4,7 @@
CC ?= gcc
CXX ?= g++
-CFLAGS = -Wall -DNDEBUG -O3
+CFLAGS ?= -Wall -DNDEBUG -O3 -Werror
INCLUDES ?= -I../include/
TOP ?= ../
@@ -39,10 +39,10 @@ file_keys.o: file_keys.c
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
firmware_image.o: firmware_image.c
- $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@
+ $(CC) -ansi $(CFLAGS) $(INCLUDES) -c $< -o $@
kernel_image.o: kernel_image.c
- $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@
+ $(CC) -ansi $(CFLAGS) $(INCLUDES) -c $< -o $@
clean:
rm -f dumpRSAPublicKey verify_data signature_digest firmware_utility \
kernel_utility signature_digest_utility $(LIBS)

Powered by Google App Engine
This is Rietveld 408576698