stdcxx: do not pass -stdlib=libc++ to the linker
This commit is contained in:
parent
206b86a5ae
commit
0263e06fbe
|
@ -18,8 +18,8 @@ in stdenv.mkDerivation rec {
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cflags=$NIX_CXXSTDLIB_COMPILE libs=$NIX_CXXSTDLIB_LINK \
|
cflags=$NIX_CXXSTDLIB_COMPILE \
|
||||||
substituteAll ${./stdcxx.pc} ${pname}.pc
|
substituteAll ${./stdcxx.pc} ${pname}.pc
|
||||||
mkdir -p $out/lib/pkgconfig
|
mkdir -p $out/lib/pkgconfig
|
||||||
install -Dm444 *.pc $out/lib/pkgconfig
|
install -Dm444 *.pc $out/lib/pkgconfig
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -3,4 +3,3 @@ Description: Genode Standard C++ library
|
||||||
Version: @version@
|
Version: @version@
|
||||||
Requires: libc libm
|
Requires: libc libm
|
||||||
Cflags: @cflags@
|
Cflags: @cflags@
|
||||||
Libs: @libs@
|
|
||||||
|
|
Loading…
Reference in New Issue