From: Felix Fietkau Date: Wed, 28 May 2014 21:33:30 +0000 (+0000) Subject: gcc: disable libsanitzier off_t check to fix musl build X-Git-Tag: reboot~7178 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=commitdiff_plain;h=95c615262c6931dac4bd58f37d15db2907403dfb;hp=df9f29c47daac206a931981d4a1033b3545786b2 gcc: disable libsanitzier off_t check to fix musl build Signed-off-by: Felix Fietkau SVN-Revision: 40870 --- diff --git a/toolchain/gcc/patches/4.8-linaro/210-disable_libsanitizer_off_t_check.patch b/toolchain/gcc/patches/4.8-linaro/210-disable_libsanitizer_off_t_check.patch new file mode 100644 index 0000000000..56084692a1 --- /dev/null +++ b/toolchain/gcc/patches/4.8-linaro/210-disable_libsanitizer_off_t_check.patch @@ -0,0 +1,11 @@ +--- a/libsanitizer/interception/interception_type_test.cc ++++ b/libsanitizer/interception/interception_type_test.cc +@@ -31,7 +31,7 @@ COMPILER_CHECK(sizeof(OFF64_T) == sizeof + // rest (they depend on _FILE_OFFSET_BITS setting when building an application). + # if defined(__ANDROID__) || !defined _FILE_OFFSET_BITS || \ + _FILE_OFFSET_BITS != 64 +-COMPILER_CHECK(sizeof(OFF_T) == sizeof(off_t)); ++// COMPILER_CHECK(sizeof(OFF_T) == sizeof(off_t)); + # endif + + #endif