Skip libcxx for Genode
This commit is contained in:
parent
e06f079be6
commit
fddd605d5c
|
@ -186,13 +186,19 @@ let
|
||||||
|
|
||||||
libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;
|
libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;
|
||||||
|
|
||||||
libcxx = callPackage ./libc++ ({} //
|
libcxx = if stdenv.targetPlatform.isGenode then
|
||||||
(stdenv.lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
|
null
|
||||||
|
else
|
||||||
|
callPackage ./libc++ ({ }
|
||||||
|
// (stdenv.lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
|
||||||
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
|
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
libcxxabi = callPackage ./libc++abi.nix ({} //
|
libcxxabi = if stdenv.targetPlatform.isGenode then
|
||||||
(stdenv.lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
|
null
|
||||||
|
else
|
||||||
|
callPackage ./libc++abi.nix ({ }
|
||||||
|
// (stdenv.lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
|
||||||
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
|
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
|
||||||
libunwind = libraries.libunwind;
|
libunwind = libraries.libunwind;
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in New Issue