2
0
Fork 0

Use LLVM C++ standard library

This commit is contained in:
Ehmry - 2019-11-15 08:26:22 +01:00
parent 4d96688e0b
commit c3f716aafc
3 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,7 @@ in rec {
genode-base-nova = genode.base-nova;
genode-os = genode.os;
libc = callPackage ./pkgs/libc { inherit depot; };
stdcxx = callPackage ./pkgs/stdcxx { inherit depot; };
stdcxx = callPackage ./pkgs/stdcxx { };
dhallGenode = dhallPackages.genode;
dhallPrelude = dhallPackages.prelude;

View File

@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
dontBuild = true;
installPhase = ''
cflags=$NIX_CXXSTDLIB_COMPILE \
cflags=$NIX_CXXSTDLIB_COMPILE libs=$NIX_CXXSTDLIB_LINK \
substituteAll ${./stdcxx.pc} ${pname}.pc
mkdir -p $out/lib/pkgconfig
install -Dm444 *.pc $out/lib/pkgconfig

View File

@ -3,3 +3,4 @@ Description: Genode Standard C++ library
Version: @version@
Requires: libc libm
Cflags: @cflags@
Libs: @libs@