OSDN Git Service

Remove ineffectual hack that attempts to build ppc/check_altivec.o without
authorDiego Biurrun <diego@biurrun.de>
Sun, 30 Nov 2008 16:57:28 +0000 (16:57 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 30 Nov 2008 16:57:28 +0000 (16:57 +0000)
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

index 0998993..a4b43be 100644 (file)
@@ -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