configure: enable x86inc for all intel platforms
authorJames Zern <jzern@google.com>
Thu, 5 Feb 2015 03:16:12 +0000 (19:16 -0800)
committerJames Zern <jzern@google.com>
Thu, 5 Feb 2015 03:16:12 +0000 (19:16 -0800)
there are no known issues since:
10d5e09 Fix issues in 32bit PIC enabled build

related issues: #808, #924

Change-Id: I80454f95fe6b4ce630fdd434d740ce8b0d42951b

build/make/configure.sh

index c0b5072..7235091 100644 (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