Debian Codegraph @

build/unix/stdc++compat/moz.build

raw
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 if CONFIG["OS_TARGET"] == "Linux":
8 Library("stdc++compat")
9 SOURCES += ["stdc++compat.cpp"]
10
11 if CONFIG["HOST_OS_ARCH"] == "Linux":
12 HostLibrary("host_stdc++compat")
13 HOST_SOURCES += [
14 "stdc++compat.cpp",
15 ]
16
17 FORCE_STATIC_LIB = True
18
19 NO_PGO = True
20
21 DisableStlWrapping()
22 COMPILE_FLAGS["CLANG_PLUGIN"] = []
23
24 OS_LIBS += ["-Wl,--version-script,%s/hide_std.ld" % SRCDIR]