Merge pull request #127417 from malbarbo/audit-host
This commit is contained in:
commit
92493fc7ce
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
|||
# --whole-archive linker flag is required to be sure that linker
|
||||
# correctly chooses strong version of symbol regardless of order of
|
||||
# object files at command line.
|
||||
+ lib.optionalString stdenv.targetPlatform.isStatic ''
|
||||
+ lib.optionalString stdenv.hostPlatform.isStatic ''
|
||||
export LDFLAGS=-Wl,--whole-archive
|
||||
'';
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue