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/.
5 include $(topsrcdir
)/config
/config.mk
7 HOST_LDFLAGS
:= $(LLVM_LDFLAGS
) $(CLANG_LDFLAGS
)
9 ifeq ($(HOST_OS_ARCH
),WINNT
)
10 # clang-plugin.dll needs to be deterministic for sccache hashes
11 HOST_LDFLAGS
+= -brepro
13 HOST_LDFLAGS
+= -shared
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
19 MACOSX_DEPLOYMENT_TARGET
:=