Contents of /trunk/xorg-old/patches-6.8.2-r10/0490_all_6.8.0-sparc-dlloader-cflags.patch
Parent Directory | Revision Log
Revision 167 -
(show annotations)
(download)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 783 byte(s)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 783 byte(s)
-import
1 | http://bugs.gentoo.org/show_bug.cgi?id=61063 |
2 | |
3 | Ferris McCormick: |
4 | If Mesa is built for the dlloader, its Imake files need something useful in |
5 | 'LargePositionIndependentCflags'. Without this fix, all they get is the string |
6 | 'LargePositionIndependentCflags'. |
7 | |
8 | The patch puts the definition in 'xorg.cf' because I think the problem is not |
9 | linux-specific, but rather, gcc-specific. |
10 | |
11 | --- xc.orig/config/cf/xorg.cf- 2004-10-27 16:26:00.000000000 +0000 |
12 | +++ xc/config/cf/xorg.cf 2004-10-27 16:27:10.000000000 +0000 |
13 | @@ -612,6 +612,10 @@ |
14 | #define DevelDRIDrivers mach64 |
15 | #endif |
16 | |
17 | +#ifndef LargePositionIndependentCFlags |
18 | +#define LargePositionIndependentCFlags -fPIC |
19 | +#endif |
20 | + |
21 | /* Sparc64 Drivers */ |
22 | #if defined(OpenBSDArchitecture) && defined(Sparc64Architecture) |
23 | /* Amiga framebuffer module */ |