summaryrefslogtreecommitdiff
path: root/target-rules.mk
diff options
context:
space:
mode:
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 $<"