stdenv.cc: move a -L flag from cc-cflags to cc-ldflags

This commit is contained in:
Ehmry - 2021-02-18 19:41:03 +01:00
parent a9b18e95c4
commit 1740628e41
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ let
echo "--gcc-toolchain=${toolchain.cc}" >> $out/nix-support/cc-cflags
echo "--sysroot=${genodeBase}" >> $out/nix-support/cc-cflags
echo "-I${genodeBase}/include" >> $out/nix-support/cc-cflags
echo "-L ${genodeBase}" >> $out/nix-support/cc-cflags
echo "-L ${genodeBase}" >> $out/nix-support/cc-ldflags
for dir in ${gccForLibs}/${stdenv.targetPlatform.config}/include/c++/*; do
echo "-isystem $dir" >> $out/nix-support/libcxx-cxxflags