summaryrefslogtreecommitdiffstats
path: root/libavcodec/Makefile
diff options
context:
space:
mode:
authorRomain Dolbeau <dolbeau@irisa.fr>2003-01-26 22:29:47 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-26 22:29:47 +0000
commit3b991c54ebf9eb6dc17939576fef9662cae1c16c (patch)
tree472bbe327c6539bccf39d791ab4e9945b94e4b53 /libavcodec/Makefile
parenta48835b9fe2d5606a8f0ab56b905047b2a17e42c (diff)
downloadffmpeg-streaming-3b991c54ebf9eb6dc17939576fef9662cae1c16c.zip
ffmpeg-streaming-3b991c54ebf9eb6dc17939576fef9662cae1c16c.tar.gz
Altivec on non darwin systems patch by Romain Dolbeau
Originally committed as revision 1509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r--libavcodec/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 851ef73..45429df 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -86,7 +86,11 @@ OBJS += ps2/dsputil_mmi.o ps2/idct_mmi.o ps2/mpegvideo_mmi.o
endif
ifeq ($(TARGET_ALTIVEC),yes)
+ifeq ($(TARGET_OS),Darwin)
CFLAGS += -faltivec
+else
+CFLAGS += -maltivec -mabi=altivec
+endif
OBJS += ppc/dsputil_altivec.o ppc/mpegvideo_altivec.o ppc/idct_altivec.o \
ppc/fft_altivec.o ppc/gmc_altivec.o
endif
OpenPOWER on IntegriCloud