From bd4d192081230b217ecab14d39daf06f40067191 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Tue, 1 Dec 2015 20:55:37 -0800 Subject: [PATCH] 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. --- common.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)