diff Makefile @ 1033:b4172ff70d27 libavcodec

Altivec on non darwin systems patch by Romain Dolbeau
author bellard
date Sun, 26 Jan 2003 22:29:47 +0000
parents a0a7149be543
children a78f6f72d54e
line wrap: on
line diff
--- a/Makefile	Thu Jan 23 23:18:42 2003 +0000
+++ b/Makefile	Sun Jan 26 22:29:47 2003 +0000
@@ -86,7 +86,11 @@
 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