aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/goflags.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/goflags.sh b/contrib/goflags.sh
index 90e4d9ee..8cc7ae8c 100755
--- a/contrib/goflags.sh
+++ b/contrib/goflags.sh
@@ -4,7 +4,7 @@ set -e
tags=
-if ${CC:-cc} -x c - -o/dev/null -lnotmuch; then
+if ${CC:-cc} -x c - -o/dev/null -lnotmuch 2>/dev/null; then
tags="$tags,notmuch"
fi <<EOF
#include <notmuch.h>