gcc: disable libsanitzier off_t check to fix musl build
[openwrt/openwrt.git] / toolchain / gcc / patches / 4.8-linaro / 210-disable_libsanitizer_off_t_check.patch
1 --- a/libsanitizer/interception/interception_type_test.cc
2 +++ b/libsanitizer/interception/interception_type_test.cc
3 @@ -31,7 +31,7 @@ COMPILER_CHECK(sizeof(OFF64_T) == sizeof
4 // rest (they depend on _FILE_OFFSET_BITS setting when building an application).
5 # if defined(__ANDROID__) || !defined _FILE_OFFSET_BITS || \
6 _FILE_OFFSET_BITS != 64
7 -COMPILER_CHECK(sizeof(OFF_T) == sizeof(off_t));
8 +// COMPILER_CHECK(sizeof(OFF_T) == sizeof(off_t));
9 # endif
10
11 #endif