mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
buildMozillaMach: fix pgo configure flags
This broke when support for opt-in __structuredAttrs was added in
238a6053
.
Fixes: #283563
This commit is contained in:
parent
ceb8e4efd9
commit
72b7e5491b
1 changed files with 3 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue