Commit ee7caeb3 by David Edelsohn Committed by David Edelsohn

rs6000.h (CC1_CPU_SPEC): Define as empty string if HAVE_LOCAL_CPU_DETECT not defined.

2007-08-11  David Edelsohn  <edelsohn@gnu.org>
            Segher Boessenkool  <segher@kernel.crashing.org>

        * config/rs6000/rs6000.h (CC1_CPU_SPEC): Define as empty string if
        HAVE_LOCAL_CPU_DETECT not defined.

Co-Authored-By: Segher Boessenkool <segher@kernel.crashing.org>

From-SVN: r127370
parent 92c72998
2007-08-11 David Edelsohn <edelsohn@gnu.org>
Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.h (CC1_CPU_SPEC): Define as empty string if
HAVE_LOCAL_CPU_DETECT not defined.
2007-08-11 Jan Hubicka <jh@suse.cz>
* cgraphunit.c (record_cdtor_fn): Declare all cdtors always inlined.
......
......@@ -149,10 +149,14 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
#define HAVE_LOCAL_CPU_DETECT
#endif
#if !defined (CC1_CPU_SPEC) && defined (HAVE_LOCAL_CPU_DETECT)
#ifndef CC1_CPU_SPEC
#ifdef HAVE_LOCAL_CPU_DETECT
#define CC1_CPU_SPEC \
"%{mcpu=native:%<mcpu=native %:local_cpu_detect(cpu)} \
%{mtune=native:%<mtune=native %:local_cpu_detect(tune)}"
#else
#define CC1_CPU_SPEC ""
#endif
#endif
/* Architecture type. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment