aboutsummaryrefslogtreecommitdiff
path: root/databases/rocksdb/files/patch-build_tools-build_detect_platform
diff options
context:
space:
mode:
Diffstat (limited to 'databases/rocksdb/files/patch-build_tools-build_detect_platform')
-rw-r--r--databases/rocksdb/files/patch-build_tools-build_detect_platform11
1 files changed, 0 insertions, 11 deletions
diff --git a/databases/rocksdb/files/patch-build_tools-build_detect_platform b/databases/rocksdb/files/patch-build_tools-build_detect_platform
index 0eae538be82a..b6b5906c5c83 100644
--- a/databases/rocksdb/files/patch-build_tools-build_detect_platform
+++ b/databases/rocksdb/files/patch-build_tools-build_detect_platform
@@ -111,14 +111,3 @@ Remove -fno-builtin-memcmp and -ltcmalloc
fi
fi
-@@ -599,8 +599,8 @@ EOF
- fi
-
- # TODO(tec): Fix -Wshorten-64-to-32 errors on FreeBSD and enable the warning.
--# -Wshorten-64-to-32 breaks compilation on FreeBSD i386
--if ! [ "$TARGET_OS" = FreeBSD -a "$TARGET_ARCHITECTURE" = i386 ]; then
-+# -Wshorten-64-to-32 breaks compilation on FreeBSD i386 and aarch64
-+if ! { [ "$TARGET_OS" = FreeBSD ] && [ "$TARGET_ARCHITECTURE" = i386 -o "$TARGET_ARCHITECTURE" = "arm64" ]; }; then
- # Test whether -Wshorten-64-to-32 is available
- $CXX $PLATFORM_CXXFLAGS -x c++ - -o /dev/null -Wshorten-64-to-32 2>/dev/null <<EOF
- int main() {}