aboutsummaryrefslogtreecommitdiff
path: root/scripts/make.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-08-03 16:09:57 -0500
committerRob Landley <rob@landley.net>2018-08-03 16:09:57 -0500
commitb51fcf8e7946aa3a059634804bd426f1b6fab571 (patch)
tree8d9020572257289c98277f96aecc9097f4f1c8fa /scripts/make.sh
parent7335fe79284725ef6356d14f39db3539b28f52b1 (diff)
downloadtoybox-b51fcf8e7946aa3a059634804bd426f1b6fab571.tar.gz
Don't include toys.h and lib/*.c in config2help.c, the host vs cross compiler
build context (probes for portability.h) is too fiddly to keep stright, just copy the parts we need into the host tool.
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-xscripts/make.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 72d53709..a268eafd 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -253,8 +253,7 @@ fi
if [ generated/config2help -ot scripts/config2help.c ]
then
- do_loudly $HOSTCC scripts/config2help.c -I . lib/xwrap.c lib/llist.c \
- lib/lib.c lib/portability.c -o generated/config2help || exit 1
+ do_loudly $HOSTCC scripts/config2help.c -o generated/config2help || exit 1
fi
if isnewer generated/help.h generated/Config.in
then