Unverified Commit 68330abc authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #284387 from mweinelt/buildmozillamach-pgo-flags

buildMozillaMach: fix pgo configure flags
parents b2029806 72b7e549
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -320,11 +320,9 @@ buildStdenv.mkDerivation {
          unset 'configureFlagsArray[i]'
        fi
      done
      configureFlagsArray+=(
        "--enable-profile-use=cross"
        "--with-pgo-profile-path="$TMPDIR/merged.profdata""
        "--with-pgo-jarlog="$TMPDIR/jarlog""
      )
      appendToVar configureFlags --enable-profile-use=cross
      appendToVar configureFlags --with-pgo-profile-path=$TMPDIR/merged.profdata
      appendToVar configureFlags --with-pgo-jarlog=$TMPDIR/jarlog
      ${lib.optionalString stdenv.hostPlatform.isMusl ''
        LDFLAGS="$OLD_LDFLAGS"
        unset OLD_LDFLAGS