diff --git a/bazel/patches/msgpack.patch b/bazel/patches/msgpack.patch index 05dcffa1..8c1cc3d5 100644 --- a/bazel/patches/msgpack.patch +++ b/bazel/patches/msgpack.patch @@ -1,13 +1,12 @@ diff --git a/include/msgpack/v1/detail/cpp11_zone.hpp b/include/msgpack/v1/detail/cpp11_zone.hpp -index 2586f275..e325ee3b 100644 +index 2586f275..8883afe0 100644 --- a/include/msgpack/v1/detail/cpp11_zone.hpp +++ b/include/msgpack/v1/detail/cpp11_zone.hpp -@@ -20,6 +20,12 @@ +@@ -20,6 +20,11 @@ #include #include -+#if (defined __arm__ || defined __aarch64__) && \ -+ (defined(linux) || defined(__linux) || defined(__linux__)) && \ ++#if (defined(linux) || defined(__linux) || defined(__linux__)) && \ + (defined(__GNUC__) || defined(__GNUG__)) +// This is a bug of arm linux gcc, suppressing false positives. +#pragma GCC diagnostic ignored "-Wmismatched-new-delete"