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++.
This commit is contained in:
parent
940e32477d
commit
e5a3c1e28c
2 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue