wok view gcc/stuff/gcc-4.5.2-startfiles_fix-1.patch @ rev 21395
lxsession: modified TARBALL
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 22 17:17:19 2019 +0100 (2019-04-22) |
parents | |
children |
line source
1 Submitted By: Jeremy Huntwork (jhuntwork AT linuxfromscratch DOT org)
2 Date: 2008-12-05
3 Initial Package Version: 4.3.2
4 Upstream Status: See below.
5 Origin: DIY Linux, See below.
6 Description: Original patch follows:
8 # DIY Linux Patch
9 Date: 2008-09-09
10 Author: Refer Origin.
11 Origin: Partial revert of http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00416.html
12 Maker: Greg Schafer <gschafer@zip.com.au>
13 Upstream Status: Not applicable. Tweak only for Temptools phase GCC-Pass2.
14 Description: Partially revert GCC driver to pre-GCC-4.3 state to allow startfiles to be
15 found in $prefix when GCC is configured for a non-standard prefix eg: /temptools. Full
16 background info in thread starting here: http://gcc.gnu.org/ml/gcc/2008-03/msg00095.html
17 and GCC bugzilla here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532
19 diff -Naur gcc-4.3.0-RC-20080222.orig/gcc/gcc.c gcc-4.3.0-RC-20080222/gcc/gcc.c
20 --- gcc-4.3.0-RC-20080222.orig/gcc/gcc.c 2008-01-24 18:57:12.000000000 +0000
21 +++ gcc-4.3.0-RC-20080222/gcc/gcc.c 2008-03-02 06:07:36.000000000 +0000
22 @@ -6370,6 +6370,11 @@
23 machine_suffix,
24 standard_startfile_prefix, NULL),
25 NULL, PREFIX_PRIORITY_LAST, 0, 1);
26 + add_prefix (&startfile_prefixes,
27 + concat (standard_exec_prefix,
28 + machine_suffix,
29 + standard_startfile_prefix, NULL),
30 + NULL, PREFIX_PRIORITY_LAST, 0, 1);
31 }
33 /* Sysrooted prefixes are relocated because target_system_root is