summaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-03-05 21:20:01 +0000
committerMåns Rullgård <mans@mansr.com>2009-03-05 21:20:01 +0000
commit313c46a61004a589f44094d6b3ed9b9be933b936 (patch)
tree11e35c671d12e87e0b666fcf35360a361891f843 /common.mak
parenta3398feb26c4a19324bdc16dfbd221532016b3a4 (diff)
Compile .S files with $(AS), set it in configure
Assembler files using the GNU syntax need to be processed by gcc, whichever compiler is used for C files. Originally committed as revision 17827 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 b756123d4f..c26625b2fc 100644
--- a/common.mak
+++ b/common.mak
@@ -24,7 +24,7 @@ CFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS)
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
%.o: %.S
- $(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
+ $(AS) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
%.ho: %.h
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -Wno-unused -c -o $@ -x c $<