Merge pull request #201003 from avdv/fix-bobcat-aarch64-linux
bobcat: Fix build on aarch64-linux
This commit is contained in:
commit
cd5b6f4f91
@ -26,6 +26,9 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
# have to link to static gcc lib on aarch64-linux explicitly
|
||||
NIX_LDFLAGS = lib.optionalString (with stdenv.targetPlatform; isAarch64 && isLinux) "-lgcc";
|
||||
|
||||
buildPhase = ''
|
||||
./build libraries all
|
||||
./build man
|
||||
|
@ -18271,7 +18271,11 @@ with pkgs;
|
||||
else callPackage ../os-specific/linux/bionic-prebuilt { };
|
||||
|
||||
|
||||
bobcat = callPackage ../development/libraries/bobcat { };
|
||||
bobcat = callPackage ../development/libraries/bobcat
|
||||
(lib.optionalAttrs (with stdenv.hostPlatform; isAarch64 && isLinux) {
|
||||
# C++20 is required, aarch64-linux has gcc 9 by default
|
||||
stdenv = gcc10Stdenv;
|
||||
});
|
||||
|
||||
boehmgc = callPackage ../development/libraries/boehm-gc { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user