mirror of
https://github.com/facebook/rocksdb
synced 2026-05-24 09:29:21 +00:00
Add a hack to build_detect_platform so it works in all types of fb-servers
This commit is contained in:
parent
463086bce8
commit
8f6e31951e
1 changed files with 5 additions and 1 deletions
|
|
@ -172,7 +172,11 @@ 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
|
||||
true
|
||||
# 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"
|
||||
else
|
||||
# do fPIC on 64 bit in non-fbcode environment
|
||||
case "$TARGET_OS" in
|
||||
|
|
|
|||
Loading…
Reference in a new issue