<div dir="auto">Ping </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 24 Mar 2021 at 09:57, Hesham Almatary <<a href="mailto:hesham.almatary@cl.cam.ac.uk">hesham.almatary@cl.cam.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">-target *-*-* flag is necessary for LLVM/Clang while cross-compiling<br>
---<br>
rtemstoolkit/rld-cc.cpp | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/rtemstoolkit/rld-cc.cpp b/rtemstoolkit/rld-cc.cpp<br>
index bb03ff6..b424214 100644<br>
--- a/rtemstoolkit/rld-cc.cpp<br>
+++ b/rtemstoolkit/rld-cc.cpp<br>
@@ -110,6 +110,7 @@ namespace rld<br>
{ fg_include, "-I", 2, true, 0 },<br>
{ fg_include, "-isystem", 2, true, 0 },<br>
{ fg_include, "-sysroot", 2, true, 0 },<br>
+ { fg_machine, "-target" , 2, false, 0 },<br>
{ fg_machine, "-O", 1, false, 0 },<br>
{ fg_machine, "-m", 1, false, 0 },<br>
{ fg_machine, "-f", 1, false, 0 },<br>
-- <br>
2.25.1<br>
<br>
</blockquote></div></div>