Fix code to allow usage of -Wall in libpayload and the sample (trivial).
This even fixes two bugs: - get_cpu_speed() didn't return a value. - The line win->_color - PAIR_NUMBER(0); should actually be win->_color = PAIR_NUMBER(0); Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3182 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -61,7 +61,7 @@ include $(PLATFORM-y) $(BUILD-y)
|
||||
|
||||
INCLUDES := -I./include
|
||||
INCLUDES += -I$(shell $(CC) -print-search-dirs | head -n 1 | cut -d' ' -f2)include
|
||||
CFLAGS := -Werror -Os -fno-stack-protector -nostdinc $(INCLUDES)
|
||||
CFLAGS := -Wall -Werror -Os -fno-stack-protector -nostdinc $(INCLUDES)
|
||||
|
||||
libpayload.a: $(TARGETS-y)
|
||||
$(AR) rc $@ $(TARGETS-y)
|
||||
|
Reference in New Issue
Block a user