gcc7: fix build w/glibc-2.31

Applied a patch from the `gcc9` branch for `gcc7` to fix `libsanitizer`
for glibc-2.31.
This commit is contained in:
Maximilian Bosch
2020-06-29 14:41:42 +02:00
parent 4847222db1
commit cff1a1eefc
2 changed files with 64 additions and 0 deletions
@@ -53,6 +53,8 @@ let majorVersion = "7";
./riscv-pthread-reentrant.patch
# https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00297.html
./riscv-no-relax.patch
./0001-Fix-build-for-glibc-2.31.patch
]
++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optionals targetPlatform.isNetBSD [