mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
darwin-cc: hide ld warnings
* tool/darwin-cc: ld in Apple's recent Xcode warns text-based stub files, which are probably caused by Apple's broken package. hide such (and architecture deprecation) warnings during configuration to pass TRY_LDFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
02cb9c932a
commit
d00199a139
2 changed files with 25 additions and 4 deletions
6
tool/darwin-cc
Executable file
6
tool/darwin-cc
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
exec 2> >(exec grep -v \
|
||||
-e '^ld: warning: The [a-z0-9_][a-z0-9_]* architecture is deprecated for macOS' \
|
||||
-e '^ld: warning: text-based stub file /System/Library/Frameworks/' \
|
||||
>&2)
|
||||
exec "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue