diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 13:17:38 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 13:17:38 +0200 |
commit | a1be17c1cea81ebb1e8b131a662c698d78f3f7f2 (patch) | |
tree | a92f7de513be600cc07bac458183e9af40e00c06 /application/basilisk/config/mozconfigs/linux64/hazards | |
parent | bf11fdd304898ac675e39b01b280d39550e419d0 (diff) | |
download | UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.gz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.lz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.xz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.zip |
Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk
Diffstat (limited to 'application/basilisk/config/mozconfigs/linux64/hazards')
-rw-r--r-- | application/basilisk/config/mozconfigs/linux64/hazards | 35 |
1 files changed, 35 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..03d72ef7e --- /dev/null +++ b/application/basilisk/config/mozconfigs/linux64/hazards @@ -0,0 +1,35 @@ +# 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: + +. "$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" |