diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index 497ca2f3d..87c4c871d 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -198,7 +198,7 @@ EOF } EOF if [ "$?" = 0 ]; then - COMMON_FLAGS="$COMMON_FLAGS $PLATFORM_LDFLAGS -DROCKSDB_FALLOCATE_PRESENT" + COMMON_FLAGS="$COMMON_FLAGS -DROCKSDB_FALLOCATE_PRESENT" fi # Test whether Snappy library is installed