Build openwrt with clang

Rosen Penev rosenp at gmail.com
Sun Mar 7 00:18:06 GMT 2021


On Sat, Mar 6, 2021 at 12:19 AM Michael Fuckner <michael at fuckner.net> wrote:
>
> Hi,
>
> I'm not exactly sure if this is trivial or totally insane- I have the idea to compile the whole openwrt with clang instead of gcc. I could not get a point to start at. Can you help me?
I don't think LLVM supports all the targets OpenWrt does.

Replacing gcc/g++ with clang(++) for host packages is possible but the
cabal here does not support that. Patches that fix such problems are
quickly rejected.
>
> Any hints?
>
> Regards,
>  Michael!
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list