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
This commit is contained in:
Yunqing Wang 2015-01-29 11:33:50 -08:00
parent 3b3e299650
commit cc7fac39d5

View File

@ -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