summaryrefslogtreecommitdiff
path: root/target-rules.mk
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-25 04:16:01 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-25 04:16:01 +0100
commit9a836f1dbf90f07c2fc4151166f7456879d675b0 (patch)
treebc7eec0850c1249c32465b41607a293c50eed44e /target-rules.mk
parentfcef19baed9cb5b040a3df0505e57710df20ee43 (diff)
Making the compiler a bitch by enabling warnings in full, fixing a few warnings, and making the board actually do slightly something.
Diffstat (limited to 'target-rules.mk')
-rw-r--r--target-rules.mk2
1 files changed, 1 insertions, 1 deletions
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 $<"