mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-06 21:40:42 +01:00
gcc: disable libsanitzier off_t check to fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40870
This commit is contained in:
parent
df9f29c47d
commit
95c615262c
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue