diff options
author | Geoffrey Keating <geoffk@apple.com> | 2006-09-12 06:09:05 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2006-09-12 06:09:05 +0000 |
commit | 703706d7e41b7efec91aa6c5204fd864aa845f5f (patch) | |
tree | f9094a266e108baf6e145e5591505a7d7dad9407 /gcc | |
parent | d5688810fe25317eb7ce60137f7327c9802b390f (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config.gcc | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b937ee5..edd15d9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2006-09-11 Geoffrey Keating <geoffk@apple.com> + * config.gcc (i[34567]86-*-darwin*): Set with_arch and + with_cpu by default. + * dwarf2out.c (dwarf_file_data): New. (enum dw_val_class): Add dw_val_class_file. (struct dw_val_struct): Add val_file. 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" |