On Fri, 22 Jan 2021 22:24:05 +0100
Martin Kaiser <[email protected]> wrote:

> From: Martin Kaiser <[email protected]>
> 
> 054493350 ("Do not add -lresolv on non-Linux systems") adds a condition
> to link with libresolv only on linux systems.
> 

> This patch uses the output of $CC -dumpmachine to detect the target platform
> for which we compile. Both gcc and clang support -dumpmachine. Like the
> original patch, we link against libresolv only if our target platform is
> linux-based.

I've thrown in CFLAGS just in case.
Applied, thanks!
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to