/[gentoo-x86]/sys-devel/gcc-apple/files/gcc-apple-4.2.1-prefix-search-dirs.patch
Gentoo

Contents of /sys-devel/gcc-apple/files/gcc-apple-4.2.1-prefix-search-dirs.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jun 28 11:07:43 2009 UTC (8 years, 4 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
apple is not a valid herd
(Portage version: 2.2.00.13629-prefix/cvs/Darwin powerpc)

1 In Prefix we are really self-providing, so don't look back!
2 Patch by Heiko Przybyl
3
4 --- gcc/gcc.c
5 +++ gcc/gcc.c
6 @@ -1525,8 +1525,8 @@ static const char *gcc_libexec_prefix;
7 #endif
8
9 static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
10 -static const char *const standard_exec_prefix_1 = "/usr/libexec/gcc/";
11 -static const char *const standard_exec_prefix_2 = "/usr/lib/gcc/";
12 +static const char *const standard_exec_prefix_1 = "@GENTOO_PORTAGE_EPREFIX@/usr/libexec/gcc/";
13 +static const char *const standard_exec_prefix_2 = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc/";
14 static const char *md_exec_prefix = MD_EXEC_PREFIX;
15
16 static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
17 --- gcc/config/darwin.h
18 +++ gcc/config/darwin.h
19 @@ -1286,7 +1286,7 @@ void add_framework_path (char *);
20 } \
21 } while (0)
22
23 -#define SYSROOT_PRIORITY PREFIX_PRIORITY_FIRST
24 +#define SYSROOT_PRIORITY PREFIX_PRIORITY_LAST
25 /* APPLE LOCAL end isysroot 5083137 */
26
27 /* Every program on darwin links against libSystem which contains the pthread

  ViewVC Help
Powered by ViewVC 1.1.20