# 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 # In the current moz.build world, we need to override essentially every # variable to limit ourselves to what we need to build the clang plugin. ifneq ($(HOST_OS_ARCH),WINNT) DSO_LDOPTS := -shared endif ifeq ($(HOST_OS_ARCH)_$(OS_ARCH),Linux_Darwin) # Use the host compiler instead of the target compiler. CXX := $(HOST_CXX) 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 :=