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
This commit is contained in:
Igor Canadi 2015-04-20 19:44:02 -07:00
parent 79c1b021a7
commit 7d136994c9

View File

@ -209,7 +209,7 @@ EOF
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags"
else
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"
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags"
fi