cc-wrapper: add -B flag with cc.lib
This fixes `gcc --print-file-name=libstdc++.so` and thus it should fix #14967.
This commit is contained in:
parent
397c75aeb4
commit
2cbb7bf9d1
|
@ -113,6 +113,7 @@ stdenv.mkDerivation {
|
|||
ccCFlags+=" -B${cc_solib}/lib64"
|
||||
fi
|
||||
ccLDFlags+=" -L${cc_solib}/lib"
|
||||
ccCFlags+=" -B${cc_solib}/lib"
|
||||
|
||||
${optionalString cc.langVhdl or false ''
|
||||
ccLDFlags+=" -L${zlib.out}/lib"
|
||||
|
|
Loading…
Reference in New Issue