aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 51300e25e5b..7553a3f2b9a 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1546,9 +1546,16 @@ powerpc-*-beos*)
extra_headers=
use_fixproto=yes
;;
-powerpc-*-darwin*)
+# APPLE LOCAL begin mainline
+powerpc-*-darwin[0-9]*)
tm_file="${tm_file} rs6000/darwin.h"
tmake_file="${tmake_file} rs6000/t-darwin"
+ case ${target} in
+ *-darwin1[0-9]*) tmake_file="${tmake_file} rs6000/t-darwin8" ;;
+ *-darwin[0-7]*) ;;
+ *-darwin[8-9]*) tmake_file="${tmake_file} rs6000/t-darwin8" ;;
+ esac
+# APPLE LOCAL end mainline
extra_headers=altivec.h
;;
powerpc*-*-freebsd*)