mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
e22b35cf77
--HG-- extra : rebase_source : 6c313ce673ff45fb1ca07530f801aef2f78be7e7
22 lines
778 B
Makefile
22 lines
778 B
Makefile
# 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 :=
|