[FFmpeg-cvslog] common.mak: Use CCFLAGS for assembly generation as well

Timothy Gu git at videolan.org
Sun Jan 24 16:30:46 CET 2016


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Tue Dec  1 20:55:37 2015 -0800| [bd4d192081230b217ecab14d39daf06f40067191] | committer: Timothy Gu

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd4d192081230b217ecab14d39daf06f40067191
---

 common.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common.mak b/common.mak
index 5645e2d..3812149 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)



More information about the ffmpeg-cvslog mailing list