From fa959ce486f4e61e26a48d509e2f9980d35eca1b Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 9 May 2006 15:40:12 +0000 Subject: config.host (): Set host_extra_gcc_objs and host_xmake_file. (<*-*-linux*>): Don't overwrite host_xmake_file. * gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS. * config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define. (host_detect_local_cpu): Declare. (CC1_CPU_SPEC): Add -march=native and -mtune=native cases. * config/i386/i386.c (override_options): Handle -mtune=native as -mtune=generic. * config/i386/x-i386: New file. * config/i386/driver-i386.c: New file. * doc/invoke.texi (): Describe cpu-type "native". From-SVN: r113655 --- gcc/gcc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index 4b628ef..7e5733c 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -1601,6 +1601,9 @@ static const struct spec_function static_spec_functions[] = { "replace-outfile", replace_outfile_spec_function }, { "version-compare", version_compare_spec_function }, { "include", include_spec_function }, +#ifdef EXTRA_SPEC_FUNCTIONS + EXTRA_SPEC_FUNCTIONS +#endif { 0, 0 } }; -- cgit v1.1