Bug 1403346 - Remove clang plugin flags from stdc++compat through moz.build rather than Makefile.in r=glandium

MozReview-Commit-ID: DuFMdNru2i4
This commit is contained in:
Chris Manchester 2017-10-25 15:12:10 -07:00
Родитель 3aac6ce692
Коммит e361318990
2 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -1,7 +0,0 @@
# 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/.
ENABLE_CLANG_PLUGIN :=
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -19,6 +19,7 @@ FORCE_STATIC_LIB = True
NO_PGO = True
DisableStlWrapping()
COMPILE_FLAGS['CLANG_PLUGIN'] = []
DEFINES['MOZ_LIBSTDCXX_VERSION'] = CONFIG['MOZ_LIBSTDCXX_TARGET_VERSION']
HOST_DEFINES['MOZ_LIBSTDCXX_VERSION'] = CONFIG['MOZ_LIBSTDCXX_HOST_VERSION']