summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/make/configure.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index c0b5072e9..723509103 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -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