sbcl_*: fix build by adding a #define

Probably triggered by glibc: 2.35-163 -> 2.35-224
Inspired by https://bugs.gentoo.org/869434
This commit is contained in:
Vladimír Čunát 2022-12-12 10:14:38 +01:00
parent 63c2909cc1
commit 0fecf164a2
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -173,7 +173,9 @@ stdenv.mkDerivation rec {
# duplicate symbol '_static_code_space_free_pointer' in: alloc.o traceroot.o
# Should be fixed past 2.1.10 release.
"-fcommon"
];
]
# Fails to find `O_LARGEFILE` otherwise.
++ [ "-D_GNU_SOURCE" ];
buildPhase = ''
runHook preBuild