mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #284387 from mweinelt/buildmozillamach-pgo-flags
buildMozillaMach: fix pgo configure flags
This commit is contained in:
commit
68330abc1b
@ -320,11 +320,9 @@ buildStdenv.mkDerivation {
|
|||||||
unset 'configureFlagsArray[i]'
|
unset 'configureFlagsArray[i]'
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
configureFlagsArray+=(
|
appendToVar configureFlags --enable-profile-use=cross
|
||||||
"--enable-profile-use=cross"
|
appendToVar configureFlags --with-pgo-profile-path=$TMPDIR/merged.profdata
|
||||||
"--with-pgo-profile-path="$TMPDIR/merged.profdata""
|
appendToVar configureFlags --with-pgo-jarlog=$TMPDIR/jarlog
|
||||||
"--with-pgo-jarlog="$TMPDIR/jarlog""
|
|
||||||
)
|
|
||||||
${lib.optionalString stdenv.hostPlatform.isMusl ''
|
${lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||||
LDFLAGS="$OLD_LDFLAGS"
|
LDFLAGS="$OLD_LDFLAGS"
|
||||||
unset OLD_LDFLAGS
|
unset OLD_LDFLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user