summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2006-09-22 23:50:51 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2006-09-22 23:50:51 +0000
commit682cd442411eee7c5dd64db9a85e833386bfa111 (patch)
treecbd39ac1e4b0c1363025fe74604d784c1f1514de /gcc/config.host
parent9281e73dd6d9fd79c8542a62374ac530f3e97c78 (diff)
downloadgcc-682cd442411eee7c5dd64db9a85e833386bfa111.tar.gz
driver-i386.c: Always define host_detect_local_cpu.
* config/i386/driver-i386.c: Always define host_detect_local_cpu. * config/i386/i386.h: Define EXTRA_SPEC_FUNCTIONS on any i386 or x86_64 host. Define HAVE_LOCAL_CPU_DETECT. (CC1_CPU_SPEC): Make conditional on HAVE_LOCAL_CPU_DETECT rather than replicating condition above. * config.host (i[34567]86-*-*): Always use driver-i386.o. From-SVN: r117159
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/config.host b/gcc/config.host
index b36066f44e5..4547864d9c1 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -97,11 +97,8 @@ esac
case ${host} in
i[34567]86-*-* \
| x86_64-*-* )
- # include the support for -march=native only when not cross compiling
- if test x${host} = x${target} ; then
- host_extra_gcc_objs="driver-i386.o"
- host_xmake_file="${host_xmake_file} i386/x-i386"
- fi
+ host_extra_gcc_objs="driver-i386.o"
+ host_xmake_file="${host_xmake_file} i386/x-i386"
;;
esac