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
main
Igor Canadi 10 years ago
parent 79c1b021a7
commit 7d136994c9
  1. 2
      build_tools/build_detect_platform

@ -209,7 +209,7 @@ EOF
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags" PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags"
else else
if echo "#include <gflags/gflags.h>\nusing namespace google;\nint main() {}" | \ if echo "#include <gflags/gflags.h>\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" COMMON_FLAGS="$COMMON_FLAGS -DGFLAGS=google"
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags" PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags"
fi fi

Loading…
Cancel
Save