altivec build tidyup patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
[ffmpeg.git] / libavcodec / Makefile
index 2b226bc..31f5be2 100644 (file)
@@ -73,6 +73,10 @@ CFLAGS += -Wa,-mpca56 -finline-limit=8000 -fforce-addr -freduce-all-givs
 endif
 
 ifeq ($(TARGET_ARCH_POWERPC),yes)
+OBJS += ppc/dsputil_ppc.o
+endif
+
+ifeq ($(TARGET_ALTIVEC),yes)
 CFLAGS += -faltivec
 OBJS += ppc/dsputil_altivec.o
 endif