summaryrefslogtreecommitdiff
path: root/target-rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target-rules.mk')
-rw-r--r--target-rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-rules.mk b/target-rules.mk
index 6a608f6..a2bd0fc 100644
--- a/target-rules.mk
+++ b/target-rules.mk
@@ -1,10 +1,10 @@
%.o: %.c
$(E) "[TC] Compiling $<"
- $(Q)$(TARGET_CC) -ffunction-sections -Wall -Werror $(addprefix -I, $(TARGET_INCLUDES)) $(TARGET_CPPFLAGS) -c -o $@ $<
+ $(Q)$(TARGET_CC) -ffunction-sections -Wall -Werror $(addprefix -I, $(TARGET_INCLUDES)) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -c -o $@ $<
%.o: %.s
$(E) "[TS] Compiling $<"
- $(Q)$(TARGET_AS) $(addprefix -I, $(TARGET_INCLUDES)) $(TARGET_CPPFLAGS) -c -o $@ $<
+ $(Q)$(TARGET_AS) $(addprefix -I, $(TARGET_INCLUDES)) $(TARGET_ASFLAGS) $(TARGET_CPPFLAGS) -c -o $@ $<
TARGET_OBJS = $(addsuffix .o, $(basename $(TARGET_SRCS)))