Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a027ca95f4 |
3
bin/9c
3
bin/9c
@ -24,6 +24,7 @@ usegcc()
|
|||||||
-fno-omit-frame-pointer \
|
-fno-omit-frame-pointer \
|
||||||
-fsigned-char \
|
-fsigned-char \
|
||||||
-fcommon \
|
-fcommon \
|
||||||
|
--std=gnu11 \
|
||||||
"
|
"
|
||||||
# want to put -fno-optimize-sibling-calls here but
|
# want to put -fno-optimize-sibling-calls here but
|
||||||
# that option only works with gcc3+ it seems
|
# that option only works with gcc3+ it seems
|
||||||
@ -56,7 +57,7 @@ quiet()
|
|||||||
ignore=$ignore'|expanded from macro'
|
ignore=$ignore'|expanded from macro'
|
||||||
|
|
||||||
grep -v '__p9l_autolib_' "$1" |
|
grep -v '__p9l_autolib_' "$1" |
|
||||||
egrep -v "$ignore" |
|
grep -E -v "$ignore" |
|
||||||
sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' |
|
sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' |
|
||||||
$(which uniq) 1>&2 # avoid built-in uniq on SunOS
|
$(which uniq) 1>&2 # avoid built-in uniq on SunOS
|
||||||
}
|
}
|
||||||
|
|||||||
4
bin/9l
4
bin/9l
@ -146,7 +146,7 @@ then
|
|||||||
grep '__p9l_autolib_[a-zA-Z0-9+-]*' |
|
grep '__p9l_autolib_[a-zA-Z0-9+-]*' |
|
||||||
sed 's/.*__p9l_autolib_//; s/:.*//' |
|
sed 's/.*__p9l_autolib_//; s/:.*//' |
|
||||||
sort -u |
|
sort -u |
|
||||||
egrep -v '^(thread|draw)$'
|
grep -E -v '^(thread|draw)$'
|
||||||
`
|
`
|
||||||
a="$a $b"
|
a="$a $b"
|
||||||
done
|
done
|
||||||
@ -337,7 +337,7 @@ quiet()
|
|||||||
ignore=$ignore'|ld: warning: ignoring duplicate libraries:'
|
ignore=$ignore'|ld: warning: ignoring duplicate libraries:'
|
||||||
|
|
||||||
sed 's/.*: In function `[^:]*: *//' "$1" |
|
sed 's/.*: In function `[^:]*: *//' "$1" |
|
||||||
egrep -v "$ignore"
|
grep -E -v "$ignore"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Must use temp file to avoid pipe; pipe loses status.
|
# Must use temp file to avoid pipe; pipe loses status.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user