summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-08 19:33:24 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-08 19:33:24 +0000
commit7cfb6ab663e521a57c6fe684b28c4b84bb263175 (patch)
treec6cea5c1156edcc4edd8689ae0ccae77a83b7f7a /gcc/config.host
parente5d923971fbd5e727188ad75d5b7299feffefe11 (diff)
downloadgcc-7cfb6ab663e521a57c6fe684b28c4b84bb263175.tar.gz
* config/rs6000/x-rs6000: New file.
* config/rs6000/darwin.h (CC1_SPEC): Add cc1_cpu. * config/rs6000/rs6000.h (EXTRA_SPECS): Add cc1_cpu. (EXTRA_SPEC_FUNCTIONS): Define. (HAVE_LOCAL_CPU_DETECT): Define. (CC1_CPU_SPEC): Define. * config/rs6000/driver-rs6000.c: New file. * config/rs6000/aix.h (CC1_SPEC): Define. * config/rs6000/sysv4.h (CC1_SPEC): Add cc1_cpu. * config.host: Add x-rs6000 to host_xmake_file if host and target are rs6000 or powerpc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config.host b/gcc/config.host
index 09a9b9d58e3..93d97f1ce0d 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -106,6 +106,19 @@ case ${host} in
;;
esac
+case ${host} in
+ rs6000-*-* \
+ | powerpc*-*-* )
+ case ${target} in
+ rs6000-*-* \
+ | powerpc*-*-* )
+ host_extra_gcc_objs="driver-rs6000.o"
+ host_xmake_file="${host_xmake_file} rs6000/x-rs6000"
+ ;;
+ esac
+ ;;
+esac
+
# Machine-specific settings.
case ${host} in
alpha*-dec-*vms*)