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.
pull/172/head
Timothy Gu 9 years ago
parent af54a36fc4
commit bd4d192081
  1. 2
      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)

Loading…
Cancel
Save