[PATCH] rld-cc: Add -target to recognised cflags
Hesham Almatary
hesham.almatary at cl.cam.ac.uk
Wed Mar 31 06:18:53 UTC 2021
Ping
On Wed, 24 Mar 2021 at 09:57, Hesham Almatary <hesham.almatary at cl.cam.ac.uk>
wrote:
> -target *-*-* flag is necessary for LLVM/Clang while cross-compiling
> ---
> rtemstoolkit/rld-cc.cpp | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/rtemstoolkit/rld-cc.cpp b/rtemstoolkit/rld-cc.cpp
> index bb03ff6..b424214 100644
> --- a/rtemstoolkit/rld-cc.cpp
> +++ b/rtemstoolkit/rld-cc.cpp
> @@ -110,6 +110,7 @@ namespace rld
> { fg_include, "-I", 2, true, 0 },
> { fg_include, "-isystem", 2, true, 0 },
> { fg_include, "-sysroot", 2, true, 0 },
> + { fg_machine, "-target" , 2, false, 0 },
> { fg_machine, "-O", 1, false, 0 },
> { fg_machine, "-m", 1, false, 0 },
> { fg_machine, "-f", 1, false, 0 },
> --
> 2.25.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210331/4b250131/attachment-0001.html>
More information about the devel
mailing list