From 313c46a61004a589f44094d6b3ed9b9be933b936 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Thu, 5 Mar 2009 21:20:01 +0000 Subject: 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 --- common.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.mak') 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 $< -- cgit v1.2.3