Advertisement
Guest User

firefox-ebuild-pgo.patch

a guest
Jan 28th, 2014
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- firefox-24.2.0-old.ebuild 2014-01-29 16:31:35.140057988 +1300
  2. +++ firefox-24.2.0.ebuild 2014-01-29 16:33:18.390077233 +1300
  3. @@ -148,6 +148,9 @@
  4. EPATCH_FORCE="yes" \
  5. epatch "${WORKDIR}/firefox"
  6.  
  7. + # Fix missing build options
  8. + epatch "${FILESDIR}/Makefile-pgo.patch
  9. +
  10. # Allow user to apply any additional patches without modifing ebuild
  11. epatch_user
  12.  
  13. @@ -232,7 +235,7 @@
  14.  
  15. # Allow for a proper pgo build
  16. if use pgo; then
  17. - echo "mk_add_options PROFILE_GEN_SCRIPT='\$(PYTHON) \$(OBJDIR)/_profile/pgo/profileserver.py'" >> "${S}"/.mozconfig
  18. + echo "mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 \$(MAKE) -C \$(MOZ_OBJDIR) pgo-profile-run'" >> "${S}"/.mozconfig
  19. fi
  20.  
  21. # Finalize and report settings
Advertisement
RAW Paste Data Copied
Advertisement