forked from pikhq/sabotage
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcc3: Default to building g++, for bootstrapping.
- Loading branch information
JillTyrell
committed
Feb 8, 2017
1 parent
00a7be3
commit 7620293
Showing
4 changed files
with
91 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- a/gcc/cp/cfns.h | ||
+++ b/gcc/cp/cfns.h | ||
@@ -34,9 +34,6 @@ | ||
__inline | ||
#endif | ||
static unsigned int hash (const char *, unsigned int); | ||
-#ifdef __GNUC__ | ||
-__inline | ||
-#endif | ||
const char * libc_name_p (const char *, unsigned int); | ||
/* maximum key range = 391, duplicates = 0 */ | ||
|
||
@@ -105,9 +102,6 @@ | ||
return hval + asso_values[(unsigned char)str[len - 1]]; | ||
} | ||
|
||
-#ifdef __GNUC__ | ||
-__inline | ||
-#endif | ||
const char * | ||
libc_name_p (register const char *str, register unsigned int len) | ||
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- gcc-4.5.3/configure | ||
+++ gcc-patched/configure | ||
@@ -3006,6 +3006,21 @@ | ||
# Noconfigdirs are removed loudly. | ||
noconfigdirs="" | ||
|
||
+# Make sure we don't let target-libiberty be added if we didn't want it. | ||
+if test x$with_target_libiberty = xno ; then | ||
+ noconfigdirs="$noconfigdirs target-libiberty" | ||
+fi | ||
+ | ||
+# Make sure we don't let target-zlib be added if we didn't want it. | ||
+if test x$with_target_zlib = xno ; then | ||
+ noconfigdirs="$noconfigdirs target-zlib" | ||
+fi | ||
+ | ||
+# Make sure we don't let target-libstdc++ be added if we didn't want it. | ||
+if test x$with_target_libstdcxx = xno ; then | ||
+ noconfigdirs="$noconfigdirs target-libstdc++-v3" | ||
+fi | ||
+ | ||
use_gnu_ld= | ||
# Make sure we don't let GNU ld be added if we didn't want it. | ||
if test x$with_gnu_ld = xno ; then | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[mirrors] | ||
http://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-g++-3.4.6.tar.bz2 | ||
|
||
[vars] | ||
filesize=2511332 | ||
sha512=cb21aabd6a14618b36c2427cd9c27d57a8db8fe780fb3e8d1f66ffa36c2ee01d4bbdd0856d4959c2a38e319a59364c78badc175296c99b32e0ed51320e5314d3 | ||
pkgver=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters