diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-10 10:30:55 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-10 10:35:27 +0000 |
commit | e5a3c1e28cb862376bc441cee1dcef92a865e534 (patch) | |
tree | bbf72c0e6cf6a467d1f16680b00084a3d946ec78 /Tools | |
parent | 940e32477dba502a98477960d5a0d1385f7e2edb (diff) | |
download | swig-e5a3c1e28cb862376bc441cee1dcef92a865e534.tar.gz |
MzScheme and Travis CXXFLAGS/CFLAGS support
mzc seems to use the CFLAGS, but not the CXXFLAGS env variables.
Pass the CXXFLAGS as ++ccf options when compiling c++.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/testflags.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/testflags.py b/Tools/testflags.py index ac8048e5f..bf85f5680 100755 --- a/Tools/testflags.py +++ b/Tools/testflags.py @@ -12,6 +12,7 @@ def get_cflags(language, std, compiler): "java":"-Werror " + c_common, "javascript":"-Werror " + c_common, "lua":"-Werror " + c_common, + "mzscheme":"-Werror " + c_common, "ocaml":"-Werror " + c_common, "octave":"-Werror " + c_common, "perl5":"-Werror " + c_common, @@ -42,6 +43,7 @@ def get_cxxflags(language, std, compiler): "java":"-Werror " + cxx_common, "javascript":"-Werror " + cxx_common + " -Wno-error=unused-function", # Until overload_rename is fixed for node "lua":"-Werror " + cxx_common, + "mzscheme":"-Werror " + cxx_common, "ocaml":"-Werror " + cxx_common, "octave":"-Werror " + cxx_common, "perl5":"-Werror " + cxx_common, |