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