Recognize g++ as value of TRAVIS_COMPILER

In macOS builds TRAVIS_COMPILER is set to g++ and not gcc, which
resulted in not handling it correctly and giving a bogus warning.
This commit is contained in:
Vadim Zeitlin
2021-04-06 18:45:52 +02:00
parent d1e493d37d
commit 8bc2ff71e2

View File

@@ -94,7 +94,7 @@ case $wxTOOLSET in
allow_warn_opt="-Wno-error=#warnings"
;;
gcc)
gcc | g++)
allow_warn_opt="-Wno-error=cpp"
;;