Mercurial > hg > aboriginal
annotate sources/patches/gcc-core-stopdefaults.patch @ 1737:1acbe7e78d9d draft
Switch from bz2 to gz tarball output.
bz2 is slowly being replaced by lz variants, but gzip isn't going anywhere.
(It retains a niche as a streaming protocol, it's the 80/20 solution optimizing
for speed, low memory requirements, and simple compressor implementation.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 20 Feb 2015 13:12:45 -0600 |
parents | 87d793ebda4a |
children |
rev | line source |
---|---|
1643
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 The ./configure stage of gcc is really stupid, if you have a cross compiler |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 installed on the host it'll sometimes find the linker out of it and make |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 the new cc call the old ld, for no apparent reason. (Can we say version skew?) |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 diff -ru gcc-core/gcc/configure gcc-core2/gcc/configure |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 --- gcc-core/gcc/configure 2007-01-01 21:44:31.000000000 -0600 |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 +++ gcc-core2/gcc/configure 2014-01-05 10:43:10.245563728 -0600 |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 @@ -13294,7 +13294,7 @@ |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 : |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 else |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 -if test -x "$DEFAULT_ASSEMBLER"; then |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
13 +if test -x "$DEFAULT_ASSEMBLER" && false; then |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 gcc_cv_as="$DEFAULT_ASSEMBLER" |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
15 elif test -f $gcc_cv_as_gas_srcdir/configure.in \ |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
16 && test -f ../gas/Makefile \ |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
17 @@ -13410,7 +13410,7 @@ |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
18 : |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
19 else |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
20 |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
21 -if test -x "$DEFAULT_LINKER"; then |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
22 +if test -x "$DEFAULT_LINKER" && false; then |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
23 gcc_cv_ld="$DEFAULT_LINKER" |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
24 elif test -f $gcc_cv_ld_gld_srcdir/configure.in \ |
87d793ebda4a
Bobby Bingham hit a case where the gcc build would detect an existing cross compiler and get confused, so he sent a patch to stop it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
25 && test -f ../ld/Makefile \ |