gcc6: fix build w/glibc-2.36

Failing Hydra build: https://hydra.nixos.org/build/193371579
This commit is contained in:
Maximilian Bosch
2022-10-06 12:56:11 +02:00
parent 0ed55ff3ca
commit 9bb6dc1bc3

View File

@@ -62,7 +62,8 @@ let majorVersion = "6";
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
patches = optionals (!stdenv.targetPlatform.isRedox) [
patches = [ ../9/fix-struct-redefinition-on-glibc-2.36.patch ]
++ optionals (!stdenv.targetPlatform.isRedox) [
../use-source-date-epoch.patch ./0001-Fix-build-for-glibc-2.31.patch
# Fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80431