]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
config.gcc (i[34567]86-*-darwin*): Set with_arch and with_cpu by default.
authorGeoffrey Keating <geoffk@apple.com>
Tue, 12 Sep 2006 06:09:05 +0000 (06:09 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Tue, 12 Sep 2006 06:09:05 +0000 (06:09 +0000)
* config.gcc (i[34567]86-*-darwin*): Set with_arch and
with_cpu by default.

From-SVN: r116874

gcc/ChangeLog
gcc/config.gcc

index b937ee587a16d2970bb7852f46bf5cb496c81fa1..edd15d9b7babf10c914daaae2e92487f585c217d 100644 (file)
@@ -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.
index efa6c8d867d161e3663a4beaac89e3f7c3342aad..6068a28f8a81ac37ba36b02d0f896e49876355f1 100644 (file)
@@ -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"