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/.
7 Library("pure_virtual")
9 SOURCES += ["pure_virtual.c"]
11 FORCE_STATIC_LIB = True
13 USE_STATIC_LIBS = True
15 # Build a real library so that the linker can remove it if the symbol
19 # LTO can mess things up.
20 if CONFIG["CC_TYPE"] == "clang-cl":
21 CFLAGS += ["-clang:-fno-lto"]
23 CFLAGS += ["-fno-lto"]