Hi,

Thus wrote Xabier Oneca -- xOneca ([email protected]):

> 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
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to