aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-12 13:29:46 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-12 13:29:46 +0000
commit7e6c86e65ddb7cef13f856acf0e10737e10564d3 (patch)
treecf0f728c10c0b17231ebb2a9d73c14a00e6ca74f /common.mak
parent50567afa5a2afe1e19e75842115749905099bfc7 (diff)
downloadffmpeg-7e6c86e65ddb7cef13f856acf0e10737e10564d3.tar.gz
Allow unusual ways of specifying compiler output file
Some compilers do not use the typical -c -o foo.o style. This allows compiler-specific equivalents to be set by the configure script. Originally committed as revision 19409 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mak b/common.mak
index 20d32ed835..0d3b0d1258 100644
--- a/common.mak
+++ b/common.mak
@@ -21,7 +21,7 @@ ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
CPPFLAGS += -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH)
%.o: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -c $(CC_O) $<
%.o: %.S
$(AS) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<