ref: cc7fac39d5e733e3cddd48a40072c0cfb1ec2689
parent: 3b3e299650b26ac7195852cb2d923830c754c122
author: Yunqing Wang <[email protected]>
date: Thu Jan 29 06:33:50 EST 2015
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
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1250,8 +1250,7 @@
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