diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/platform/clang_darwin.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk index 0d6dbcb30..99baacff3 100644 --- a/make/platform/clang_darwin.mk +++ b/make/platform/clang_darwin.mk @@ -12,7 +12,8 @@ CheckArches = \ $(shell \ result=""; \ for arch in $(1); do \ - if $(CC) -arch $$arch -c -x c /dev/null -o /dev/null; then \ + if $(CC) -arch $$arch -c -x c /dev/null \ + -o /dev/null > /dev/null 2> /dev/null; then \ result="$$result$$arch "; \ fi; \ done; \ |