From c370f5597a799af69e92da0bc5b721dddb64b589 Mon Sep 17 00:00:00 2001 From: kailiu Date: Mon, 6 Jan 2014 11:53:19 -0800 Subject: [PATCH] Revert change in 8f6e319. --- build_tools/build_detect_platform | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index 93eac07e0..87c4c871d 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -172,11 +172,7 @@ echo "MEMENV_SOURCES=helpers/memenv/memenv.cc" >> $OUTPUT if [ "$CROSS_COMPILE" = "true" -o "$FBCODE_BUILD" = "true" ]; then # Cross-compiling; do not try any compilation tests. # Also don't need any compilation tests if compiling on fbcode - # TODO(kailiu) For some fb-supported environments, they have trouble finding - # symbols from gflags if -lgflags wasn't specified. As a temporary resort, - # we added it to PLATFORM_LDFLAGS although for some environments it is - # unnecessary. - PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -gflags" + true else # do fPIC on 64 bit in non-fbcode environment case "$TARGET_OS" in