shithub: libvpx

Download patch

ref: 0c46742f56d06bf284c781bd754eff3b1d97c3c8
parent: 31a7f65cd6d2fae6e3413defe62da59c52fdcce4
parent: 201acea7fe02e9278fd95aa5c23886242c41b3c6
author: Luca Barbato <lu_zero@gentoo.org>
date: Wed Jun 27 18:27:11 EDT 2018

Merge "Support Power8/Power9 tuning"

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1247,6 +1247,13 @@
       link_with_cc=gcc
       setup_gnu_toolchain
       check_gcc_machine_option "vsx"
+      if [ -n "${tune_cpu}" ]; then
+        case ${tune_cpu} in
+          power?)
+            tune_cflags="-mcpu="
+            ;;
+        esac
+      fi
       ;;
     x86*)
       case  ${tgt_os} in