aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2010-05-25 11:59:45 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-05-25 11:59:45 +0000
commit9a2d05e0bcc7994e60b533dcab0715278cfd7f04 (patch)
tree58eb8357708d4002133110e5faed19e89b8c2803 /gcc/config.gcc
parent8fde8b401da8b351f0ad3ed914e2b9cc9f3e9899 (diff)
downloadgcc-9a2d05e0bcc7994e60b533dcab0715278cfd7f04.zip
gcc-9a2d05e0bcc7994e60b533dcab0715278cfd7f04.tar.gz
gcc-9a2d05e0bcc7994e60b533dcab0715278cfd7f04.tar.bz2
enable multilibs on powerpc64-apple-darwin
* config/rs6000/darwin64.h: Update DARWIN_ARCH_SPEC. * config/rs6000/t-darwin64: New. * config.gcc (powerpc64-*-darwin*): Use darwin.opts, t-darwin64, build crt2. From-SVN: r159817
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7318a94..56f84e1 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1906,9 +1906,10 @@ powerpc-*-darwin*)
extra_headers=altivec.h
;;
powerpc64-*-darwin*)
- tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
extra_options="${extra_options} ${cpu_type}/darwin.opt"
- # We're omitting t-darwin8 to avoid building any multilibs
+ extra_parts="crt2.o"
+ tmake_file="t-darwin ${cpu_type}/t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin"
+ tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
lto_binary_reader=lto-macho
extra_headers=altivec.h
;;