From 7d136994c94b50c2c3c7cb2ce30c07d325b54942 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Mon, 20 Apr 2015 19:44:02 -0700 Subject: [PATCH] Get rid of error output Summary: We should send error output to /dev/null Test Plan: none Reviewers: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D37449 --- build_tools/build_detect_platform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index 2ecf07aca..3711a72b6 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -209,7 +209,7 @@ EOF PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags" else if echo "#include \nusing namespace google;\nint main() {}" | \ - $CXX $CFLAGS -x c++ - -o /dev/null ; then + $CXX $CFLAGS -x c++ - -o /dev/null 2> /dev/null; then COMMON_FLAGS="$COMMON_FLAGS -DGFLAGS=google" PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags" fi