gecko-dev/build/autoconf
David Major 5df8b566b9 Bug 1612461 - Translate LLVM_CXXFLAGS's `-std:` to `-std=` for clang-cl r=froydnj,glandium
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
2020-02-13 06:41:23 +00:00
..
alloc.m4
altoptions.m4
android.m4 Bug 1568452 - Move ANDROID and ANDROID_PLATFORM to moz.configure r=froydnj 2019-07-24 13:41:20 +00:00
arch.m4 Bug 1524429 - Move build/autoconf/arch.m4 to python configure. r=nalexander 2019-03-20 16:17:57 +00:00
clang-plugin.m4 Bug 1612461 - Translate LLVM_CXXFLAGS's `-std:` to `-std=` for clang-cl r=froydnj,glandium 2020-02-13 06:41:23 +00:00
codeset.m4
compiler-opts.m4 Bug 1613176 - Enable -Wreturn-type-c-linkage. r=froydnj 2020-02-05 11:21:04 +00:00
config.guess Bug 1598273 - Refresh config.guess and config.sub from upstream. r=froydnj 2019-11-26 13:30:41 +00:00
config.status.m4
config.sub Bug 1598273 - Refresh config.guess and config.sub from upstream. r=froydnj 2019-11-26 13:30:41 +00:00
expandlibs.m4
hooks.m4
hotfixes.m4
icu.m4 Bug 1590907 - Make ENABLE_INTL_API and ENABLE_TYPED_OBJECTS into js-config macros. r=sfink,firefox-build-system-reviewers,mshal 2019-11-26 07:25:35 +00:00
install-sh
ios.m4
mozheader.m4
mozprog.m4
nspr-build.m4 Bug 1556646 part 2 - Rename JS_POSIX_NSPR to JS_WITHOUT_NSPR and remove --enable-posix-nspr-emulation configure flag. r=sfink,glandium 2019-06-08 09:10:59 +00:00
nspr.m4
nss.m4
pkg.m4
sanitize.m4 Bug 1557583 - Move --enable-*-sanitizers options to python configure. r=dmajor 2019-06-07 13:08:27 +00:00
toolchain.m4 Bug 1537644 - Avoid using link.exe during configure. r=chmanchester 2019-04-09 21:57:19 +00:00
zlib.m4