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.
This commit is contained in:
Timothy Gu 2015-12-01 20:55:37 -08:00
parent af54a36fc4
commit bd4d192081
1 changed files with 1 additions and 1 deletions

View File

@ -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)