From ee7caeb3b831b8ac96fd78dca0520b318b84747d Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sun, 12 Aug 2007 02:46:54 +0000 Subject: [PATCH] rs6000.h (CC1_CPU_SPEC): Define as empty string if HAVE_LOCAL_CPU_DETECT not defined. 2007-08-11 David Edelsohn Segher Boessenkool * config/rs6000/rs6000.h (CC1_CPU_SPEC): Define as empty string if HAVE_LOCAL_CPU_DETECT not defined. Co-Authored-By: Segher Boessenkool From-SVN: r127370 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.h | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 834db6708a0..db73703f191 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-08-11 David Edelsohn + Segher Boessenkool + + * config/rs6000/rs6000.h (CC1_CPU_SPEC): Define as empty string if + HAVE_LOCAL_CPU_DETECT not defined. + 2007-08-11 Jan Hubicka * cgraphunit.c (record_cdtor_fn): Declare all cdtors always inlined. diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 5f34c800fb6..4ba955f4c82 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -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:%