browser/config/mozconfigs/linux64/hazards

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 # This mozconfig is used when compiling the browser for the SM(Hf) rooting
     2 # hazard analysis build, see
     3 # https://wiki.mozilla.org/Javascript:SpiderMonkey:ExactStackRooting
     5 # Do NOT include build/unix/mozconfig.linux because it points directly at the
     6 # tooltool-installed gcc, and the analysis works by wrapping the gcc invocation
     7 # with a script that invokes the real gcc with -fplugin and its configuration
     8 # directives. Instead, duplicate the contents of that mozconfig here:
    10 . "$topsrcdir/build/mozconfig.common"
    11 ac_add_options --enable-elf-hack
    12 ac_add_options --enable-stdcxx-compat
    14 # The objdir must be at a known location so its path can be stripped from the
    15 # filenames stored by the analysis
    16 mk_add_options MOZ_OBJDIR=obj-analyzed
    18 # The configuration options are chosen to compile the most code
    19 # (--enable-debug, --enable-tests) in the trickiest way possible
    20 # (--enable-optimize) to maximize the chance of seeing tricky static orderings.
    21 ac_add_options --enable-debug
    22 ac_add_options --enable-tests
    23 ac_add_options --enable-optimize
    25 CFLAGS="$CFLAGS -Wno-attributes"
    26 CPPFLAGS="$CPPFLAGS -Wno-attributes"
    27 CXXFLAGS="$CXXFLAGS -Wno-attributes"
    29 . "$topsrcdir/build/mozconfig.common.override"

mercurial