shithub: libvpx

Download patch

ref: a39b723eb34ef5921947e4deae3b6b7630ed04b9
parent: 3252e6b63d69b7bf0add1a5a35e3af5b61c72995
author: Luca Barbato <[email protected]>
date: Tue Apr 18 14:31:18 EDT 2017

configure: Workaround clang not enabling altivec on -mvsx

The flag `-mvsx` implies `-maltivec`.

Change-Id: I7544553eba131a533467b387f8bf329d57f5af5c

--- a/build/make/Makefile
+++ b/build/make/Makefile
@@ -141,8 +141,8 @@
 $(BUILD_PFX)%_avx2.c.o: CFLAGS += -mavx2
 
 # POWER
-$(BUILD_PFX)%_vsx.c.d: CFLAGS += -mvsx
-$(BUILD_PFX)%_vsx.c.o: CFLAGS += -mvsx
+$(BUILD_PFX)%_vsx.c.d: CFLAGS += -maltivec -mvsx
+$(BUILD_PFX)%_vsx.c.o: CFLAGS += -maltivec -mvsx
 
 $(BUILD_PFX)%.c.d: %.c
 	$(if $(quiet),@echo "    [DEP] $@")