summaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-12-01 20:55:37 -0800
committerTimothy Gu <timothygu99@gmail.com>2016-01-24 07:29:18 -0800
commitbd4d192081230b217ecab14d39daf06f40067191 (patch)
tree3312cbae6f77286230d4f42485f79a41316920f0 /common.mak
parentaf54a36fc42d2d2824b5820b59af9f421b849371 (diff)
common.mak: Use CCFLAGS for assembly generation as well
CCFLAGS is equivalent to CPPFLAGS + CFLAGS, and it is already being used by other make rules like %.i and %.o. Simplifies common.mak.
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mak b/common.mak
index 5645e2d429..3812149ef5 100644
--- a/common.mak
+++ b/common.mak
@@ -67,7 +67,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
$(COMPILE_M)
%.s: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) -S -o $@ $<
+ $(CC) $(CCFLAGS) -S -o $@ $<
%.o: %.S
$(COMPILE_S)