summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-22 23:50:51 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-22 23:50:51 +0000
commit852c5acb3054ca2f68a0fe929e51b1b916276546 (patch)
treecbd39ac1e4b0c1363025fe74604d784c1f1514de /gcc/config.host
parent0f4f6f1cb3db9ffff69532d100ea7ce90cb1674d (diff)
downloadgcc-852c5acb3054ca2f68a0fe929e51b1b916276546.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117159 138bc75d-0d04-0410-961f-82ee72b054a4
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