libsanitizer/mips: always build with largefile support
authorYunQiang Su <yunqiang.su@cipunited.com>
Fri, 6 Jan 2023 10:28:22 +0000 (18:28 +0800)
committerYunQiang Su <yunqiang.su@cipunited.com>
Tue, 31 Jan 2023 02:00:44 +0000 (10:00 +0800)
commite08835fd3a4a6559b79c26db9b18df0e838d943e
tree6aa1d97920f72ea689acf6cf9cbd3c32df0bc950
parent897a0502056e6cc6613f26e0b22d1c1e06b1490f
libsanitizer/mips: always build with largefile support

-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 is always used for mips
when build libsanitizer in LLVM. Thus
   FIRST_32_SECOND_64((_MIPS_SIM == _ABIN32) ? 176 : 160, 216);
instead of
   FIRST_32_SECOND_64((_MIPS_SIM == _ABIN32) ? 160 : 144, 216);
in sanitizer_platform_limits_posix.h.

To keep sync with LLVM and to make the code simple, we use the
largefile options always.

libsanitizer/
* configure.ac: set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
always for mips*.
* configure: Regenerate.
libsanitizer/configure
libsanitizer/configure.ac