[FFmpeg-cvslog] build: Use portable compiler flag constructs in header compilation rule

Diego Biurrun git at videolan.org
Sun Jul 29 02:26:19 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jul 27 12:06:01 2012 +0200| [42ade117dd8b5ab76d5331bd193fcfefe0b96385] | committer: Diego Biurrun

build: Use portable compiler flag constructs in header compilation rule

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

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 37faa76..5a7d591 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ COMPILE_S = $(call COMPILE,AS)
 	$(COMPILE_S)
 
 %.ho: %.h
-	$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ -x c $<
+	$(CC) $(CCFLAGS) -c $(CC_O) -x c $<
 
 %.ver: %.v
 	$(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@



More information about the ffmpeg-cvslog mailing list