mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
llvmPackages_13.libcxx: require gcc >=10 on gcc platforms
specifically aarch64. as of version 13 libcxx does not build on gcc9.
This commit is contained in:
parent
68331b5812
commit
54a487505a
@ -244,7 +244,12 @@ let
|
||||
inherit llvm_meta;
|
||||
stdenv = if stdenv.hostPlatform.useLLVM or false
|
||||
then overrideCC stdenv buildLlvmTools.clangNoLibcxx
|
||||
else stdenv;
|
||||
else (
|
||||
# libcxx >= 13 does not build on gcc9
|
||||
if stdenv.cc.isGNU && lib.versionOlder stdenv.cc.version "10"
|
||||
then pkgs.gcc10Stdenv
|
||||
else stdenv
|
||||
);
|
||||
};
|
||||
|
||||
libcxxabi = callPackage ./libcxxabi {
|
||||
|
Loading…
Reference in New Issue
Block a user