2
0
Fork 0

stdcxx: do not pass -stdlib=libc++ to the linker

This commit is contained in:
Emery Hemingway 2019-11-19 16:31:11 +01:00
parent 206b86a5ae
commit 0263e06fbe
2 changed files with 2 additions and 3 deletions

View File

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

View File

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