2
0
Fork 0
Browse Source

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

20.02
Emery Hemingway 3 years ago
parent
commit
0263e06fbe
  1. 4
      pkgs/stdcxx/default.nix
  2. 1
      pkgs/stdcxx/stdcxx.pc

4
pkgs/stdcxx/default.nix

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

1
pkgs/stdcxx/stdcxx.pc

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

Loading…
Cancel
Save