source: scripts/patch/gcc/4.4.1/15-libtool-fixes.patch@ 1390e30

clfs-3.0.0-systemd systemd
Last change on this file since 1390e30 was ee54da9, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated GCC Script for 4.4.1

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[ee54da9]1This patch works around rpath in GCC
2
3diff -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
5+++ gcc-4.4.0/ltmain.sh 2009-07-14 10:03:39.000000000 -0700
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.