From 9a836f1dbf90f07c2fc4151166f7456879d675b0 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 25 Jan 2011 04:16:01 +0100 Subject: Making the compiler a bitch by enabling warnings in full, fixing a few warnings, and making the board actually do slightly something. --- target-rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-rules.mk') diff --git a/target-rules.mk b/target-rules.mk index 1edcc7a..6a608f6 100644 --- a/target-rules.mk +++ b/target-rules.mk @@ -1,6 +1,6 @@ %.o: %.c $(E) "[TC] Compiling $<" - $(Q)$(TARGET_CC) $(addprefix -I, $(TARGET_INCLUDES)) $(TARGET_CPPFLAGS) -c -o $@ $< + $(Q)$(TARGET_CC) -ffunction-sections -Wall -Werror $(addprefix -I, $(TARGET_INCLUDES)) $(TARGET_CPPFLAGS) -c -o $@ $< %.o: %.s $(E) "[TS] Compiling $<" -- cgit v1.2.3