From: Yunqing Wang Date: Thu, 29 Jan 2015 19:33:50 +0000 (-0800) Subject: Enable use_x86inc for 32bit pic enabled Darwin target X-Git-Tag: v1.4.0~207 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc7fac39d5e733e3cddd48a40072c0cfb1ec2689;p=platform%2Fupstream%2Flibvpx.git Enable use_x86inc for 32bit pic enabled Darwin target The previous patch "Fix issues in 32bit PIC enabled build" fixed the x86inc.asm for macho32. Now we can enable use_x86inc while building libvpx for 32bit pic enabled Darwin target, which makes the encoder a lot faster(>2X) in this case by turning on the existing optimizations. Change-Id: I5f5c7add428d73f50c935c48d0a70aed2b1eb7af --- diff --git a/build/make/configure.sh b/build/make/configure.sh index 0997938..a2ac9bf 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -1250,8 +1250,7 @@ EOF fi tgt_os_no_version=$(echo "${tgt_os}" | tr -d "[0-9]") - if [ "${tgt_os_no_version}" = "darwin" ] || \ - [ "${tgt_os_no_version}" = "openbsd" ] || [ "`uname`" = "OpenBSD" ]; then + if [ "${tgt_os_no_version}" = "openbsd" ] || [ "`uname`" = "OpenBSD" ]; then openbsd_like=yes fi # Default use_x86inc to yes when we are 64 bit, non-pic, or on any