For VxWorks:
fix building errors use wr-c++ as linker
This commit is contained in:
parent
e15510ca33
commit
079baafdf1
5 changed files with 11 additions and 15 deletions
|
|
@ -132,7 +132,8 @@ pub fn find(build: &mut Build) {
|
|||
false
|
||||
};
|
||||
|
||||
if cxx_configured {
|
||||
// for VxWorks, record CXX compiler which will be used in lib.rs:linker()
|
||||
if cxx_configured || target.contains("vxworks") {
|
||||
let compiler = cfg.get_compiler();
|
||||
build.cxx.insert(target, compiler);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue