Merge "configure: enable x86inc for all intel platforms"

This commit is contained in:
James Zern 2015-02-05 12:18:24 -08:00 committed by Gerrit Code Review
commit 3be948d84b

View File

@ -1259,14 +1259,7 @@ EOF
fi
fi
tgt_os_no_version=$(echo "${tgt_os}" | tr -d "[0-9]")
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
# non-Darwin target.
if [ "${tgt_isa}" = "x86_64" ] || [ "${pic}" != "yes" ] || \
[ "${openbsd_like}" != "yes" ]; then
if [ "${tgt_isa}" = "x86_64" ] || [ "${tgt_isa}" = "x86" ]; then
soft_enable use_x86inc
fi