Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 22nd, 2010  |  syntax: None  |  size: 2.06 KB  |  hits: 69  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ac_add_options --enable-application=browser
  2. mk_add_options MOZ_CO_PROJECT=browser
  3. ac_add_options --prefix=/usr --libdir=/usr/lib
  4.  
  5. ## System libs are preferred
  6. ac_add_options --with-system-nss --with-system-jpeg --with-pthreads --with-system-zlib
  7. ac_add_options --with-system-bz2 --enable-system-cairo --with-system-hunspell
  8. ac_add_options --with-system-sqlite --with-system-nspr
  9.  
  10. ## GNU/Linux stuff
  11. ac_add_options --disable-installer --disable-updater
  12. ac_add_options --enable-official-branding
  13. ac_add_options --enable-startup-notification
  14.  
  15. ## Optimize
  16. ac_add_options --disable-pedantic --enable-jemalloc --enable-xterm-updates
  17. ### Reverse these lines (enable vs disable) for a debug build
  18. ac_add_options --enable-optimize --disable-debug --disable-tests
  19. ac_add_options --enable-profile-guided-optimization
  20. ac_add_options --enable-strip --enable-install-strip
  21. ###
  22.  
  23. ## Edit these as you see fit
  24. ac_add_options --disable-crashreporter --disable-parental-controls
  25. ac_add_options --enable-printing --enable-xinerama
  26. ac_add_options --enable-default-toolkit=cairo-gtk2  # cairo-gtk2-dfb, cairo-gtk2, or cairo-qt
  27. ac_add_options --enable-places --enable-svg --enable-pango --enable-canvas
  28. ac_add_options --enable-smil --disable-java-xpcom
  29. # Enabling this breaks PGO with 3.6, on x86_64.  Please test enabled with later versions.
  30. ac_add_options --enable-canvas3d
  31. # This is disabled in order to speed Firefox up, it prevents checking Google
  32. # for every single URL Firefox processes.  If you're using this package, it's likely you already
  33. # know enough to be safe online, or are paranoid (perhaps with reason) about
  34. # Google getting your URLs.  Also, this is GNU/Linux, we have somewhat less to fear ;-)
  35. ac_add_options --disable-safe-browsing
  36.  
  37.  
  38. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo
  39. mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
  40. export BUILD_OFFICIAL=1
  41. export MOZILLA_OFFICIAL=1
  42. mk_add_options BUILD_OFFICIAL=1
  43. mk_add_options MOZILLA_OFFICIAL=1
  44.  
  45. # Want to change the compiler?
  46. #export CC='gcc-4.5'
  47. #export CXX='g++-4.5'