From 52ad2f390e364300cc3da22a3f18f15f59624a3d Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Sun, 30 Nov 2008 16:57:28 +0000
Subject: [PATCH] Remove ineffectual hack that attempts to build
 ppc/check_altivec.o without AltiVec flags. The flags are set by configure and
 used to compile all files anyway. Setting extra AltiVec options here just
 duplicates them for the files for which they are set.

Originally committed as revision 15959 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/Makefile | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 0998993e087..a4b43be48f4 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -468,10 +468,6 @@ ALTIVEC-OBJS-$(CONFIG_SNOW_DECODER)    += ppc/snow_altivec.o
 ALTIVEC-OBJS-$(CONFIG_VC1_DECODER)     += ppc/vc1dsp_altivec.o
 ALTIVEC-OBJS-$(CONFIG_WMV3_DECODER)    += ppc/vc1dsp_altivec.o
 
-# -maltivec is needed in order to build AltiVec code.
-$(addprefix $(SUBDIR),$(ALTIVEC-OBJS-yes)): CFLAGS += -maltivec -mabi=altivec
-
-# check_altivec must be built without -maltivec
 OBJS-$(HAVE_ALTIVEC)                   += $(ALTIVEC-OBJS-yes)           \
                                           ppc/check_altivec.o
 
-- 
GitLab