mozconfig-linux-x86_64-asan (839B)
1 . $topsrcdir/browser/config/mozconfigs/tor-browser 2 3 export CFLAGS="-fsanitize=address -Dxmalloc=myxmalloc" 4 export CXXFLAGS="-fsanitize=address -Dxmalloc=myxmalloc" 5 # We need to add -ldl explicitely due to bug 1213698 6 export LDFLAGS="-fsanitize=address -ldl" 7 8 # Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff 9 # (which is part of mar-tools and is not distributed to end-users) with 10 # ASan. See bug 17858. 11 export HOST_CFLAGS="" 12 export HOST_CXXFLAGS="" 13 export HOST_LDFLAGS="-ldl" 14 15 ac_add_options --enable-address-sanitizer 16 ac_add_options --disable-jemalloc 17 ac_add_options --disable-elf-hack 18 19 ac_add_options --enable-default-toolkit=cairo-gtk3 20 21 ac_add_options --disable-strip 22 ac_add_options --disable-install-strip 23 24 # Let's make sure no preference is enabling either Adobe's or Google's CDM. 25 ac_add_options --disable-eme 26