Skip to content

Commit

Permalink
VxWorks: use wr-cc for C file, use wr-c++ for CPP file
Browse files Browse the repository at this point in the history
  • Loading branch information
bpangWR committed Aug 20, 2020
1 parent 15284d8 commit 6e65cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -2002,7 +2002,7 @@ impl Build {
{
"clang".to_string()
} else if target.contains("vxworks") {
"wr-c++".to_string()
if self.cpp { "wr-c++".to_string() } else { "wr-cc".to_string() }
} else if self.get_host()? != target {
let prefix = self.prefix_for_target(&target);
match prefix {
Expand Down

0 comments on commit 6e65cf4

Please sign in to comment.