On Tue, 30 Apr 2013, Diego Biurrun wrote:

---

This should fix ppc/clang with altivec disabled; needs testing though.

libavcodec/ppc/Makefile |    7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/libavcodec/ppc/Makefile b/libavcodec/ppc/Makefile
index c22a2bc..71b23da 100644
--- a/libavcodec/ppc/Makefile
+++ b/libavcodec/ppc/Makefile
@@ -2,9 +2,7 @@ OBJS                                   += ppc/dsputil_ppc.o     
        \
                                          ppc/fmtconvert_altivec.o      \
                                          ppc/videodsp_ppc.o            \

-FFT-OBJS-$(HAVE_GNU_AS)                += ppc/fft_altivec_s.o
-OBJS-$(CONFIG_FFT)                     += ppc/fft_altivec.o             \
-                                          $(FFT-OBJS-yes)
+OBJS-$(CONFIG_FFT)                     += ppc/fft_altivec.o
OBJS-$(CONFIG_H264CHROMA)              += ppc/h264chroma_init.o
OBJS-$(CONFIG_H264DSP)                 += ppc/h264dsp.o
OBJS-$(CONFIG_H264QPEL)                += ppc/h264qpel.o
@@ -21,3 +19,6 @@ ALTIVEC-OBJS                           += 
ppc/dsputil_altivec.o         \
                                          ppc/gmc_altivec.o             \
                                          ppc/idct_altivec.o            \
                                          ppc/int_altivec.o             \
+
+FFT-OBJS-$(HAVE_GNU_AS)                += ppc/fft_altivec_s.o
+ALTIVEC-OBJS-$(CONFIG_FFT)             += $(FFT-OBJS-yes)
--
1.7.9.5

I don't have any env to test it in, but I'd guess this fixes the build failure, so ok with me.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to