external/boost: Work around -fsanitize=bool
Change-Id: I4a34c2ced30770dace39ffd39a530f719174ca7e
This commit is contained in:
2
external/boost/UnpackedTarball_boost.mk
vendored
2
external/boost/UnpackedTarball_boost.mk
vendored
@@ -107,6 +107,8 @@ boost_patches += boost.signal2.Wshadow.warnings.patch
|
||||
boost_patches += boost.boost_static_assert_unused_attribute.patch.0
|
||||
boost_patches += w4702.patch.0
|
||||
|
||||
boost_patches += ubsan.patch.0
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_set_tarball,boost,$(BOOST_TARBALL)))
|
||||
|
11
external/boost/ubsan.patch.0
vendored
Normal file
11
external/boost/ubsan.patch.0
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
--- boost/algorithm/string/find_iterator.hpp
|
||||
+++ boost/algorithm/string/find_iterator.hpp
|
||||
@@ -240,7 +240,7 @@
|
||||
m_Match(Other.m_Match),
|
||||
m_Next(Other.m_Next),
|
||||
m_End(Other.m_End),
|
||||
- m_bEof(Other.m_bEof)
|
||||
+ m_bEof(Other.eof())
|
||||
{}
|
||||
|
||||
//! Constructor
|
Reference in New Issue
Block a user