tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (571B)


      1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
      2 # vim: set filetype=python:
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 
      7 Program(CONFIG["MOZ_APP_NAME"])
      8 
      9 SOURCES += [
     10     "NoPie.c",
     11 ]
     12 
     13 # For some reason, LTO messes things up. We don't care anyways.
     14 CFLAGS += [
     15     "-fno-lto",
     16 ]
     17 
     18 # Use OS_LIBS instead of LDFLAGS to "force" the flag to come after -pie
     19 # from MOZ_PROGRAM_LDFLAGS.
     20 OS_LIBS += ["-no-pie"]