projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5816592
)
improve gcc wrapper to support -nostdlib, -nostartfiles
author
Rich Felker
<dalias@aerifal.cx>
Fri, 3 Feb 2012 04:54:46 +0000
(23:54 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 3 Feb 2012 04:54:46 +0000
(23:54 -0500)
tools/gen-musl-gcc.sh
patch
|
blob
|
history
diff --git
a/tools/gen-musl-gcc.sh
b/tools/gen-musl-gcc.sh
index edc408466315410a28d3d59637c1f0bd27575ad0..b727a8ed9e50620e589af09bf32ebd7b0f85a9a6 100644
(file)
--- a/
tools/gen-musl-gcc.sh
+++ b/
tools/gen-musl-gcc.sh
@@
-29,7
+29,7
@@
for i ; do
case "$skip$i" in
-I|-L) skip=--- ; continue ;;
-[cSE]|-M*) nolink=1 ;;
--shared) nocrt=1 ;;
+-shared
|-nostartfiles|-nostdlib
) nocrt=1 ;;
-*) ;;
*) havefile=1 ;;
esac