projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix musl-gcc wrapper to work with -pie
[musl]
/
tools
/
musl-gcc.specs.sh
diff --git
a/tools/musl-gcc.specs.sh
b/tools/musl-gcc.specs.sh
index
30b2676
..
5604685
100644
(file)
--- a/
tools/musl-gcc.specs.sh
+++ b/
tools/musl-gcc.specs.sh
@@
-17,7
+17,7
@@
cat <<EOF
libgcc.a%s %:if-exists(libgcc_eh.a%s)
*startfile:
libgcc.a%s %:if-exists(libgcc_eh.a%s)
*startfile:
-%{!shared: $libdir/crt1.o} $libdir/crti.o %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}
+%{!shared: $libdir/
%{pie:S}
crt1.o} $libdir/crti.o %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}
*endfile:
%{shared|pie:crtendS.o%s;:crtend.o%s} $libdir/crtn.o
*endfile:
%{shared|pie:crtendS.o%s;:crtend.o%s} $libdir/crtn.o