diff --git a/src/lib.rs b/src/lib.rs index 33e80d32..2d918b85 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1751,7 +1751,7 @@ impl Build { { "clang".to_string() } else if target.contains("vxworks") { - "wr=c++".to_string() + "wr-c++".to_string() } else if self.get_host()? != target { // CROSS_COMPILE is of the form: "arm-linux-gnueabi-" let cc_env = self.getenv("CROSS_COMPILE");