Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
b1c29b32
Commit
b1c29b32
authored
Oct 12, 2020
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Plain Diff
fixup! gcc: make the ld wrapper add paths via -rpath if there's already an -rpath arg
parents
9a7c08e0
3d12ddae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
component/gcc/buildout.cfg
component/gcc/buildout.cfg
+4
-6
No files found.
component/gcc/buildout.cfg
View file @
b1c29b32
...
@@ -42,13 +42,11 @@ post-install =
...
@@ -42,13 +42,11 @@ post-install =
done
done
cat <<EOF >ld
cat <<EOF >ld
#!/bin/sh -e
#!/bin/sh -e
case \$#:\$1 in 0:|1:-*) ;; *)
for x; do case \$x in -rpath|-rpath=*)
if [ "\$LD_RUN_PATH" ]
set -- "\$@" $2
then LD_RUN_PATH=\$LD_RUN_PATH$1
! break
else set -- "\$@" $2
fi
;;
;;
esac
esac
; done && export LD_RUN_PATH=\$${LD_RUN_PATH:+\$LD_RUN_PATH:}$${1#:}
exec ${binutils:location}/bin/ld "\$@"
exec ${binutils:location}/bin/ld "\$@"
EOF
EOF
chmod +x ld
chmod +x ld
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment