tor-browser

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

BUILD.gn (1107B)


      1 # Copyright 2021 The Chromium Authors
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 import("//chromium/build/config/sanitizers/sanitizers.gni")
      6 import("//chromium/build/toolchain/toolchain.gni")
      7 
      8 # This is included by reference in the //build/config/compiler config that
      9 # is applied to all targets. It is here to specify defines and flags that
     10 # are z/OS-specific.
     11 
     12 config("compiler") {
     13   defines = [
     14     "_AE_BIMODAL=1",
     15     "_ALL_SOURCE",
     16     "_ENHANCED_ASCII_EXT=0xFFFFFFFF",
     17     "_LARGE_TIME_API",
     18     "_OPEN_MSGQ_EXT",
     19     "_OPEN_SYS_FILE_EXT=1",
     20     "_OPEN_SYS_SOCK_IPV6 ",
     21     "_UNIX03_SOURCE ",
     22     "_UNIX03_THREADS",
     23     "_UNIX03_WITHDRAWN",
     24     "_XOPEN_SOURCE=600",
     25     "_XOPEN_SOURCE_EXTENDED",
     26     "PATH_MAX=1024",
     27     "ZOSLIB_OVERRIDE_CLIB",
     28   ]
     29 
     30   cflags = [
     31     "-fno-short-enums",
     32     "-fno-xl-pragma-pack",
     33     "-fzos-le-char-mode=ascii",
     34     "-m64",
     35     "-march=arch14",
     36     "-mzos-target=zosv2r4",
     37     "-Wno-unknown-pragmas",
     38   ]
     39 
     40   cflags_cc = []
     41 
     42   asmflags = [
     43     "-Wa,-mGOFF",
     44     "-fno-integrated-as",
     45   ]
     46 
     47   ldflags = []
     48 }