aboutsummaryrefslogtreecommitdiffstats
path: root/tool/darwin-cc
diff options
context:
space:
mode:
Diffstat (limited to 'tool/darwin-cc')
-rwxr-xr-xtool/darwin-cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tool/darwin-cc b/tool/darwin-cc
new file mode 100755
index 0000000000..6eee96e435
--- /dev/null
+++ b/tool/darwin-cc
@@ -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 "$@"