aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2003-08-11 20:27:17 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2003-08-11 20:27:17 +0000
commitb6e52719c643ec5c10763612b605611e7151ec82 (patch)
treed480477012223fed5b250d56529ba679528aacf4 /libavcodec
parentc95108037fa64fb80b306bc5bec12aa4c98208d1 (diff)
downloadffmpeg-b6e52719c643ec5c10763612b605611e7151ec82.tar.gz
Simplified and fixed altivec/altivec.h detection under Linux and Darwin (and others). Patch by Magnus Damm <damm@opensource.se>
Originally committed as revision 2120 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index de2b970f18..1d90426d76 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -127,11 +127,6 @@ 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