diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-10-16 02:04:59 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-11-29 14:10:22 +0100 |
commit | 77216c368f3ae65c3a9fc504d28d3fadd46d6d8d (patch) | |
tree | 8f4bf1ca9cd3aea68214bc93ab5a586401979f47 /util-linux/setarch.c | |
parent | 75fbff1326674b768cee66f32e3799d5bff5e194 (diff) | |
download | busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.gz busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.bz2 busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.zip |
Fix non-Linux builds
Various tools are Linuxish and should thus only attempted to build on
Linux only. Some features are also Linux-only.
Also, libresolv is used on all GNU platforms, notably GNU/Hurd and
GNU/kfreeBSD.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/setarch.c')
-rw-r--r-- | util-linux/setarch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util-linux/setarch.c b/util-linux/setarch.c index cf8ef0064..57051a683 100644 --- a/util-linux/setarch.c +++ b/util-linux/setarch.c | |||
@@ -9,6 +9,7 @@ | |||
9 | //config:config SETARCH | 9 | //config:config SETARCH |
10 | //config: bool "setarch (3.6 kb)" | 10 | //config: bool "setarch (3.6 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
12 | //config: help | 13 | //config: help |
13 | //config: The linux32 utility is used to create a 32bit environment for the | 14 | //config: The linux32 utility is used to create a 32bit environment for the |
14 | //config: specified program (usually a shell). It only makes sense to have | 15 | //config: specified program (usually a shell). It only makes sense to have |
@@ -18,12 +19,14 @@ | |||
18 | //config:config LINUX32 | 19 | //config:config LINUX32 |
19 | //config: bool "linux32 (3.3 kb)" | 20 | //config: bool "linux32 (3.3 kb)" |
20 | //config: default y | 21 | //config: default y |
22 | //config: select PLATFORM_LINUX | ||
21 | //config: help | 23 | //config: help |
22 | //config: Alias to "setarch linux32". | 24 | //config: Alias to "setarch linux32". |
23 | //config: | 25 | //config: |
24 | //config:config LINUX64 | 26 | //config:config LINUX64 |
25 | //config: bool "linux64 (3.3 kb)" | 27 | //config: bool "linux64 (3.3 kb)" |
26 | //config: default y | 28 | //config: default y |
29 | //config: select PLATFORM_LINUX | ||
27 | //config: help | 30 | //config: help |
28 | //config: Alias to "setarch linux64". | 31 | //config: Alias to "setarch linux64". |
29 | 32 | ||