[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH v3] Makefile.flags: fix the OS detection for libresolv
From: Bernhard Reutner-Fischer <rep.dot.nop () gmail ! com>
Date: 2021-02-07 8:46:28
Message-ID: 20210207094628.0963f92b () nbbrfq
[Download RAW message or body]
On Fri, 22 Jan 2021 22:24:05 +0100
Martin Kaiser <lists@kaiser.cx> wrote:
> From: Martin Kaiser <martin@kaiser.cx>
>
> 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
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic