mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
9l: silence the 'ignoring duplicate libraries' warning on macOS
This commit is contained in:
parent
0bc1ff0fa0
commit
3a877764da
1 changed files with 2 additions and 0 deletions
2
bin/9l
2
bin/9l
|
@ -333,6 +333,8 @@ quiet()
|
|||
ignore=$ignore'|is (often|almost always) misused'
|
||||
ignore=$ignore'|is dangerous, better use'
|
||||
ignore=$ignore'|text-based stub'
|
||||
# macOS linker is incessant about reoccurring -l9, -lsec, -lthread:
|
||||
ignore=$ignore'|ld: warning: ignoring duplicate libraries:'
|
||||
|
||||
sed 's/.*: In function `[^:]*: *//' "$1" |
|
||||
egrep -v "$ignore"
|
||||
|
|
Loading…
Reference in a new issue