From cc7fac39d5e733e3cddd48a40072c0cfb1ec2689 Mon Sep 17 00:00:00 2001 From: Yunqing Wang Date: Thu, 29 Jan 2015 11:33:50 -0800 Subject: [PATCH] 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 --- build/make/configure.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/make/configure.sh b/build/make/configure.sh index 099793810..a2ac9bf77 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