Source code

Revision control

Other Tools

1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5
include $(topsrcdir)/config/config.mk
6
7
HOST_LDFLAGS := $(LLVM_LDFLAGS) $(CLANG_LDFLAGS)
8
9
ifeq ($(HOST_OS_ARCH),WINNT)
10
# clang-plugin.dll needs to be deterministic for sccache hashes
11
HOST_LDFLAGS += -brepro
12
else
13
HOST_LDFLAGS += -shared
14
endif
15
16
# Use the default OS X deployment target to enable using the libc++ headers
17
# correctly. Note that the binary produced here is a host tool and doesn't need
18
# to be distributed.
19
MACOSX_DEPLOYMENT_TARGET :=