diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2018-06-27 21:12:39 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2018-06-27 21:12:39 +0200 |
commit | 201acea7fe02e9278fd95aa5c23886242c41b3c6 (patch) | |
tree | 75cb677385f4dc9900f03a59b61fc6816b5e5f5c /build/make/configure.sh | |
parent | 3c20815a40557e5fce62d49bd4109eb1c8900778 (diff) | |
download | libvpx-201acea7fe02e9278fd95aa5c23886242c41b3c6.tar libvpx-201acea7fe02e9278fd95aa5c23886242c41b3c6.tar.gz libvpx-201acea7fe02e9278fd95aa5c23886242c41b3c6.tar.bz2 libvpx-201acea7fe02e9278fd95aa5c23886242c41b3c6.zip |
Support Power8/Power9 tuning
Change-Id: I50b32f37f77224ebf0470545152c83ae2ed3cfa3
Diffstat (limited to 'build/make/configure.sh')
-rw-r--r-- | build/make/configure.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh index 746b32583..fdda759be 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -1247,6 +1247,13 @@ EOF 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 |