toolchain: add support of ARC architecture
[openwrt-working-2016/.git] / toolchain / gcc / patches / arc-2015.06 / 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