aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2006-09-12 06:09:05 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2006-09-12 06:09:05 +0000
commit703706d7e41b7efec91aa6c5204fd864aa845f5f (patch)
treef9094a266e108baf6e145e5591505a7d7dad9407 /gcc/config.gcc
parentd5688810fe25317eb7ce60137f7327c9802b390f (diff)
downloadgcc-703706d7e41b7efec91aa6c5204fd864aa845f5f.zip
gcc-703706d7e41b7efec91aa6c5204fd864aa845f5f.tar.gz
gcc-703706d7e41b7efec91aa6c5204fd864aa845f5f.tar.bz2
config.gcc (i[34567]86-*-darwin*): Set with_arch and with_cpu by default.
* config.gcc (i[34567]86-*-darwin*): Set with_arch and with_cpu by default. From-SVN: r116874
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index efa6c8d..6068a28 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1002,6 +1002,13 @@ hppa[12]*-*-hpux11*)
;;
i[34567]86-*-darwin*)
need_64bit_hwint=yes
+
+ # This is so that '.../configure && make' doesn't fail due to
+ # config.guess deciding that the configuration is i386-*-darwin* and
+ # then this file using that to set --with-cpu=i386 which has no -m64
+ # support.
+ with_arch=${with_arch:-nocona}
+ with_cpu=${with_cpu:-generic}
;;
i[34567]86-*-elf*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"