shithub: libvpx

Download patch

ref: 201acea7fe02e9278fd95aa5c23886242c41b3c6
parent: 3c20815a40557e5fce62d49bd4109eb1c8900778
author: Luca Barbato <[email protected]>
date: Wed Jun 27 17:12:39 EDT 2018

Support Power8/Power9 tuning

Change-Id: I50b32f37f77224ebf0470545152c83ae2ed3cfa3

--- 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