mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
29 lines
714 B
Makefile
29 lines
714 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/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
LIBRARY_NAME = stdc++compat
|
|
HOST_LIBRARY_NAME = host_stdc++compat
|
|
FORCE_STATIC_LIB= 1
|
|
STL_FLAGS =
|
|
NO_EXPAND_LIBS = 1
|
|
NO_PROFILE_GUIDED_OPTIMIZE = 1
|
|
|
|
CPPSRCS = \
|
|
stdc++compat.cpp
|
|
$(NULL)
|
|
|
|
HOST_CPPSRCS = $(CPPSRCS)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
CXXFLAGS += -DMOZ_LIBSTDCXX_VERSION=$(MOZ_LIBSTDCXX_TARGET_VERSION)
|
|
HOST_CXXFLAGS += -DMOZ_LIBSTDCXX_VERSION=$(MOZ_LIBSTDCXX_TARGET_VERSION)
|