clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since e6c4741 was 76c9fbb, checked in by Jim Gifford <clfs@…>, 15 years ago |
Modifications to GCC to fix PPC Build Issues
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[d8a9d8b] | 1 | This patch works around rpath in GCC
|
---|
| 2 |
|
---|
| 3 | diff -Naur gcc-4.4.0.orig/ltmain.sh gcc-4.4.0/ltmain.sh
|
---|
| 4 | --- gcc-4.4.0.orig/ltmain.sh 2008-09-26 09:21:02.000000000 -0700
|
---|
[76c9fbb] | 5 | +++ gcc-4.4.0/ltmain.sh 2009-07-14 10:03:39.000000000 -0700
|
---|
[d8a9d8b] | 6 | @@ -6886,6 +6886,7 @@
|
---|
| 7 | rpath="$finalize_rpath"
|
---|
| 8 | test "$mode" != relink && rpath="$compile_rpath$rpath"
|
---|
| 9 | for libdir in $rpath; do
|
---|
| 10 | + case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
|
---|
| 11 | if test -n "$hardcode_libdir_flag_spec"; then
|
---|
| 12 | if test -n "$hardcode_libdir_separator"; then
|
---|
| 13 | if test -z "$hardcode_libdirs"; then
|
---|
| 14 | @@ -7575,6 +7576,7 @@
|
---|
| 15 | rpath=
|
---|
| 16 | hardcode_libdirs=
|
---|
| 17 | for libdir in $compile_rpath $finalize_rpath; do
|
---|
| 18 | + case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
|
---|
| 19 | if test -n "$hardcode_libdir_flag_spec"; then
|
---|
| 20 | if test -n "$hardcode_libdir_separator"; then
|
---|
| 21 | if test -z "$hardcode_libdirs"; then
|
---|
| 22 | @@ -7626,6 +7628,7 @@
|
---|
| 23 | rpath=
|
---|
| 24 | hardcode_libdirs=
|
---|
| 25 | for libdir in $finalize_rpath; do
|
---|
| 26 | + case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
|
---|
| 27 | if test -n "$hardcode_libdir_flag_spec"; then
|
---|
| 28 | if test -n "$hardcode_libdir_separator"; then
|
---|
| 29 | if test -z "$hardcode_libdirs"; then
|
---|
Note:
See
TracBrowser
for help on using the repository browser.