From c3a9a336d0552e81136f97dd22e8e1f7e8fd9216 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 28 May 2010 15:11:08 +0000 Subject: [PATCH] config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin. 2010-05-28 Iain Sandoe * config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin. From-SVN: r159979 --- gcc/ChangeLog | 4 ++++ gcc/config.gcc | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5531ad6c24f..a4903566b0f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-05-28 Iain Sandoe + + * config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin. + 2010-05-28 Maxim Kuvyrkov PR bootstrap/44314 diff --git a/gcc/config.gcc b/gcc/config.gcc index 022997a0a4c..fbee45e6cbc 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -408,6 +408,7 @@ esac # Common parts for widely ported systems. case ${target} in *-*-darwin*) + tmake_file="t-darwin ${cpu_type}/t-darwin" tm_file="${tm_file} darwin.h" case ${target} in *-*-darwin9*) @@ -419,7 +420,6 @@ case ${target} in esac tm_file="${tm_file} ${cpu_type}/darwin.h" tm_p_file="${tm_p_file} darwin-protos.h" - tmake_file="t-darwin ${cpu_type}/t-darwin t-slibgcc-darwin" target_gtfiles="\$(srcdir)/config/darwin.c" extra_options="${extra_options} darwin.opt" c_target_objs="${c_target_objs} darwin-c.o" @@ -1097,12 +1097,12 @@ i[34567]86-*-darwin*) # then this file using that to set --with-cpu=i386 which has no -m64 # support. with_cpu=${with_cpu:-generic} - tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm" + tmake_file="${tmake_file} t-slibgcc-darwin i386/t-crtpc i386/t-crtfm" lto_binary_reader=lto-macho ;; x86_64-*-darwin*) with_cpu=${with_cpu:-generic} - tmake_file="${tmake_file} t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm" + tmake_file="${tmake_file} ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm" tm_file="${tm_file} ${cpu_type}/darwin64.h" lto_binary_reader=lto-macho ;; @@ -1923,13 +1923,14 @@ powerpc-*-darwin*) *-darwin[0-6]*) ;; esac + tmake_file="${tmake_file} t-slibgcc-darwin" lto_binary_reader=lto-macho extra_headers=altivec.h ;; powerpc64-*-darwin*) extra_options="${extra_options} ${cpu_type}/darwin.opt" extra_parts="crt2.o" - tmake_file="t-darwin ${cpu_type}/t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin" + tmake_file="${tmake_file} ${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 -- 2.30.2