diff options
author | Vladimír Čunát <v@cunat.cz> | 2022-12-12 10:14:38 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2022-12-12 10:14:38 +0100 |
commit | 0fecf164a2a7d7ab51eb1ecfe0d4fc4d5f80011c (patch) | |
tree | d4f0e471b60a39fc6b16a5a0fbb3cd8147598b01 /pkgs/development/compilers | |
parent | 63c2909cc1e651fd0288acc2243ae851902afeb4 (diff) |
sbcl_*: fix build by adding a #define
Probably triggered by glibc: 2.35-163 -> 2.35-224 Inspired by https://bugs.gentoo.org/869434
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/sbcl/2.x.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/compilers/sbcl/2.x.nix b/pkgs/development/compilers/sbcl/2.x.nix index aa27e76d659e6..2d79117b16632 100644 --- a/pkgs/development/compilers/sbcl/2.x.nix +++ b/pkgs/development/compilers/sbcl/2.x.nix @@ -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 |