Guest User

Untitled

a guest
Nov 5th, 2012
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-asan-sym
  2. ac_add_options --disable-debug
  3. ac_add_options --disable-optimize
  4.  
  5. # ASan specific options on Linux
  6. ac_add_options --enable-valgrind
  7.  
  8. # Other options
  9. ac_add_options --enable-codesighs
  10.  
  11. # Use Clang as specified in manifest
  12. export LLVM_BUILD="path-to-llvm/llvm/build/Release+Asserts/bin"
  13. export CC="$LLVM_BUILD/clang -w -fgnu89-inline"
  14. export CXX="$LLVM_BUILD/clang++ -w"
  15.  
  16. # Mandatory flags for ASan
  17. export ASANFLAGS="-faddress-sanitizer -Dxmalloc=myxmalloc -fPIC"
  18. export CFLAGS="$ASANFLAGS"
  19. export CXXFLAGS="$ASANFLAGS"
  20. export LDFLAGS="-faddress-sanitizer"
  21.  
  22. # Enable ASan specific code and build workarounds
  23. ac_add_options --enable-address-sanitizer
  24.  
  25. # Mandatory options required for ASan builds (both on Linux and Mac)
  26. export MOZ_DEBUG_SYMBOLS=1
  27. ac_add_options --enable-debug-symbols
  28. ac_add_options --disable-install-strip
  29. ac_add_options --disable-jemalloc
  30. ac_add_options --disable-crashreporter
  31. ac_add_options --disable-elf-hack
  32. ac_add_options --disable-libjpeg-turbo
  33. ac_add_options --disable-tests
  34.  
  35. # Avoid dependency on libstdc++ 4.5
  36. ac_add_options --enable-stdcxx-compat
  37.  
  38. # Enable parallel compiling
  39. mk_add_options MOZ_MAKE_FLAGS="-j20"
  40.  
  41. # Package js shell.
  42. export MOZ_PACKAGE_JSSHELL=1
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×