summaryrefslogtreecommitdiff
path: root/package/libvpx/patches/patch-build_make_configure_sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/libvpx/patches/patch-build_make_configure_sh')
-rw-r--r--package/libvpx/patches/patch-build_make_configure_sh33
1 files changed, 31 insertions, 2 deletions
diff --git a/package/libvpx/patches/patch-build_make_configure_sh b/package/libvpx/patches/patch-build_make_configure_sh
index 829ede0c8..c080a4c05 100644
--- a/package/libvpx/patches/patch-build_make_configure_sh
+++ b/package/libvpx/patches/patch-build_make_configure_sh
@@ -1,5 +1,5 @@
---- libvpx-v1.2.0.orig/build/make/configure.sh 2013-09-04 20:49:22.000000000 +0200
-+++ libvpx-v1.2.0/build/make/configure.sh 2013-10-14 20:15:20.000000000 +0200
+--- libvpx-v1.2.0.orig/build/make/configure.sh 2013-10-14 20:16:36.000000000 +0200
++++ libvpx-v1.2.0/build/make/configure.sh 2014-01-06 11:27:27.889747488 +0100
@@ -305,7 +305,7 @@ check_cpp() {
check_ld() {
log check_ld "$@"
@@ -9,3 +9,32 @@
}
check_header(){
+@@ -952,7 +952,7 @@ process_common_toolchain() {
+
+ esac
+ ;;
+- mips*)
++ mips32*)
+ link_with_cc=gcc
+ setup_gnu_toolchain
+ tune_cflags="-mtune="
+@@ -964,6 +964,19 @@ process_common_toolchain() {
+ check_add_asflags -march=${tgt_isa}
+ check_add_asflags -KPIC
+ ;;
++ mips64*)
++ link_with_cc=gcc
++ setup_gnu_toolchain
++ tune_cflags="-mtune="
++ if enabled dspr2; then
++ check_add_cflags -mips32r2 -mdspr2
++ disable fast_unaligned
++ fi
++ # use cflags from adk
++ #check_add_cflags -march=${tgt_isa}
++ #check_add_asflags -march=${tgt_isa}
++ check_add_asflags -KPIC
++ ;;
+ ppc*)
+ enable ppc
+ bits=${tgt_isa##ppc}