Advertisement
Guest User

Untitled

a guest
Jan 30th, 2025
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. # This Source Code Form is subject to the terms of the Mozilla Public
  2. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4.  
  5. #export CC="clang70"
  6. #export CXX="clang++70"
  7. export CC="clang15"
  8. export CXX="clang++15"
  9. export LLVM_CONFIG="llvm-config15"
  10. export LD=lld15
  11.  
  12. CC="$CC -march=nocona -mtune=nocona"
  13. CXX="$CXX -march=nocona -mtune=nocona"
  14.  
  15.  
  16. mk_add_options MOZ_MAKE_FLAGS="-s -j2"
  17. mk_add_options LDFLAGS="-Wl,--no-keep-memory"
  18.  
  19.  
  20. ac_add_options --enable-application=comm/suite
  21. ac_add_options --disable-tests
  22. ac_add_options --disable-debug
  23. ac_add_options --enable-irc
  24. ac_add_options --enable-calendar
  25. ac_add_options --enable-dominspector
  26. ac_add_options --enable-release
  27. ac_add_options --enable-js-shell
  28. ac_add_options --disable-necko-wifi
  29. #ac_add_options --disable-eme
  30. ac_add_options --disable-debug-symbols
  31. ac_add_options --disable-tests
  32. ac_add_options --enable-strip
  33. ac_add_options --enable-install-strip
  34. ac_add_options --enable-optimize
  35.  
  36. #ac_add_options --with-system-icu
  37.  
  38. # Disable checking that add-ons are signed by the trusted root
  39. MOZ_ADDON_SIGNING=0
  40. # Disable enforcing that add-ons are signed by the trusted root
  41. MOZ_REQUIRE_SIGNING=0
  42.  
  43. # Package js shell
  44. export MOZ_PACKAGE_JSSHELL=1
  45.  
  46. #Use ccache
  47. ac_add_options --with-ccache=/usr/local/bin/ccache
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement