зеркало из https://github.com/mozilla/gecko-dev.git
5df8b566b9
clang-plugin.dll links against clang.exe so they both need to use the same C++ standard. This is achieved by having build/clang-plugin/moz.build use the flags from llvm-config. However, llvm-config uses the `-std:c++14` format, so our flags end up looking like: `-Xclang -std=c++17 ... -std:c++14` and apparently the former wins out in clang's option plumbing, so the compiler still thinks we requested c++17. This patch makes clang-plugin use the `-Xclang -std=` format so that the override happens as desired. Differential Revision: https://phabricator.services.mozilla.com/D62271 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
alloc.m4 | ||
altoptions.m4 | ||
android.m4 | ||
arch.m4 | ||
clang-plugin.m4 | ||
codeset.m4 | ||
compiler-opts.m4 | ||
config.guess | ||
config.status.m4 | ||
config.sub | ||
expandlibs.m4 | ||
hooks.m4 | ||
hotfixes.m4 | ||
icu.m4 | ||
install-sh | ||
ios.m4 | ||
mozheader.m4 | ||
mozprog.m4 | ||
nspr-build.m4 | ||
nspr.m4 | ||
nss.m4 | ||
pkg.m4 | ||
sanitize.m4 | ||
toolchain.m4 | ||
zlib.m4 |