[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH v2] Makefile.flags: fix the OS detection for libresolv
From: Martin Kaiser <lists () kaiser ! cx>
Date: 2021-01-12 8:53:22
Message-ID: 20210112085322.3yps7m54ynrms5pj () viti ! kaiser ! cx
[Download RAW message or body]
Hi,
Thus wrote Xabier Oneca -- xOneca (xoneca@gmail.com):
> So, this test (previous to your change) depends on uname applet being
> compiled in?
it seems so.
coreutils/uname.c
//config:config UNAME
...
//config:
//config:config UNAME_OSNAME
...
//config: default "GNU/Linux"
//config: depends on UNAME
I disabled CONFIG_UNAME for testing, CONFIG_UNAME_OSNAME was empty then.
So the os check was wrong in the first place.
I was wondering if we could use $CC -dumpmachine to find out for which
target os we are compiling? At least gcc and clang support this
option...
Best regards,
Martin
_______________________________________________
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