diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 03:32:58 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 03:32:58 -0500 |
commit | e72ef92b5bdc43cd2584198e2e54e951b70299e8 (patch) | |
tree | 01ceb4a897c33eca9e7ccf2bc3aefbe530169fe5 /application/basilisk/config/mozconfigs/linux64/hazards | |
parent | 0d19b77d3eaa5b8d837bf52c19759e68e42a1c4c (diff) | |
download | UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.gz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.lz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.xz UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.zip |
Add Basilisk
Diffstat (limited to 'application/basilisk/config/mozconfigs/linux64/hazards')
-rw-r--r-- | application/basilisk/config/mozconfigs/linux64/hazards | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/application/basilisk/config/mozconfigs/linux64/hazards b/application/basilisk/config/mozconfigs/linux64/hazards new file mode 100644 index 000000000..6e5383250 --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/hazards @@ -0,0 +1,41 @@ +# This mozconfig is used when compiling the browser for the rooting hazard +# analysis build (labeled H on treeherder). See +# https://wiki.mozilla.org/Javascript:SpiderMonkey:ExactStackRooting + +# Do NOT include build/unix/mozconfig.linux because it points directly at the +# tooltool-installed gcc, and the analysis works by wrapping the gcc invocation +# with a script that invokes the real gcc with -fplugin and its configuration +# directives. Instead, duplicate the contents of that mozconfig here: + +MOZ_AUTOMATION_BUILD_SYMBOLS=0 +MOZ_AUTOMATION_L10N_CHECK=0 +MOZ_AUTOMATION_PACKAGE=0 +MOZ_AUTOMATION_PACKAGE_TESTS=0 +MOZ_AUTOMATION_UPLOAD=0 + +. "$topsrcdir/build/mozconfig.common" +ac_add_options --enable-elf-hack + +. "$topsrcdir/build/unix/mozconfig.stdcxx" + +# The objdir must be at a known location so its path can be stripped from the +# filenames stored by the analysis +mk_add_options MOZ_OBJDIR=obj-analyzed + +# The configuration options are chosen to compile the most code +# (--enable-debug, --enable-tests) in the trickiest way possible +# (--enable-optimize) to maximize the chance of seeing tricky static orderings. +ac_add_options --enable-debug +ac_add_options --enable-tests +ac_add_options --enable-optimize +ac_add_options --with-compiler-wrapper=$TOOLTOOL_DIR/sixgill/usr/libexec/sixgill/scripts/wrap_gcc/basecc +ac_add_options --without-ccache + +CFLAGS="$CFLAGS -Wno-attributes" +CPPFLAGS="$CPPFLAGS -Wno-attributes" +CXXFLAGS="$CXXFLAGS -Wno-attributes" + +export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig +. $topsrcdir/build/unix/mozconfig.gtk + +. "$topsrcdir/build/mozconfig.common.override" |