build/clang-plugin/Makefile.in
author Hiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Mon, 03 Aug 2020 23:33:09 +0000
changeset 543152 fdfd1e91d204eac485f83445935ff69c283b9b8d
parent 455466 0d3146dfec52fb00762d930f31e3f97ae86fab43
permissions -rw-r--r--
Bug 1656893 - Make test_running_on_compositor.html work with disabling partial pre-render. r=boris Differential Revision: https://phabricator.services.mozilla.com/D85797

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

include $(topsrcdir)/config/config.mk

HOST_LDFLAGS := $(LLVM_LDFLAGS) $(CLANG_LDFLAGS)

ifeq ($(HOST_OS_ARCH),WINNT)
# clang-plugin.dll needs to be deterministic for sccache hashes
HOST_LDFLAGS += -brepro
else
HOST_LDFLAGS += -shared
endif

# Use the default OS X deployment target to enable using the libc++ headers
# correctly.  Note that the binary produced here is a host tool and doesn't need
# to be distributed.
MACOSX_DEPLOYMENT_TARGET :=