Skip libcxx for Genode
This commit is contained in:
parent
e06f079be6
commit
fddd605d5c
|
@ -186,16 +186,22 @@ 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
|
||||||
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
|
else
|
||||||
}));
|
callPackage ./libc++ ({ }
|
||||||
|
// (stdenv.lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
|
||||||
|
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
|
||||||
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
|
else
|
||||||
libunwind = libraries.libunwind;
|
callPackage ./libc++abi.nix ({ }
|
||||||
}));
|
// (stdenv.lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
|
||||||
|
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
|
||||||
|
libunwind = libraries.libunwind;
|
||||||
|
}));
|
||||||
|
|
||||||
openmp = callPackage ./openmp.nix {};
|
openmp = callPackage ./openmp.nix {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue