mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
sbcl: remove obsolete version checks
This commit is contained in:
parent
698fd43e54
commit
e846639236
@ -6,8 +6,8 @@
|
|||||||
# Note that the created binaries still need `patchelf --set-interpreter ...`
|
# Note that the created binaries still need `patchelf --set-interpreter ...`
|
||||||
# to get rid of ${glibc} dependency.
|
# to get rid of ${glibc} dependency.
|
||||||
, purgeNixReferences ? false
|
, purgeNixReferences ? false
|
||||||
, coreCompression ? lib.versionAtLeast version "2.2.6"
|
, coreCompression ? true
|
||||||
, markRegionGC ? lib.versionAtLeast version "2.4.0"
|
, markRegionGC ? true
|
||||||
, version
|
, version
|
||||||
# Set this to a lisp binary to use a custom bootstrap lisp compiler for
|
# Set this to a lisp binary to use a custom bootstrap lisp compiler for
|
||||||
# SBCL. Leave as null to use the default. This is useful for local development
|
# SBCL. Leave as null to use the default. This is useful for local development
|
||||||
@ -173,15 +173,8 @@ stdenv.mkDerivation (self: rec {
|
|||||||
"--arch=arm64"
|
"--arch=arm64"
|
||||||
];
|
];
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals (lib.versionOlder self.version "2.1.10") [
|
# Fails to find `O_LARGEFILE` otherwise.
|
||||||
# Workaround build failure on -fno-common toolchains like upstream
|
env.NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
|
||||||
# clang-13. Without the change build fails as:
|
|
||||||
# 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 = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
Loading…
Reference in New Issue
Block a user