aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-11-15 05:17:23 -0600
committerRob Landley <rob@landley.net>2008-11-15 05:17:23 -0600
commitae2e4b743aee024f61793cc66ecf2be2115da250 (patch)
tree8187fbc41e368113c226ea4b126dac4a457c2f22 /scripts
parentb5d557f0860766bbe89854241e07ff6ec1a2e39a (diff)
downloadtoybox-ae2e4b743aee024f61793cc66ecf2be2115da250.tar.gz
Add netcat server mode, -l, -L, and -t.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 6d31a5e8..e9c2a965 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -85,6 +85,6 @@ TOYFILES=$(cat .config | sed -nre 's/^CONFIG_(.*)=y/\1/;t skip;b;:skip;s/_.*//;p
echo "Compile toybox..."
-$DEBUG $CC $CFLAGS -I . -o toybox_unstripped $OPTIMIZE \
- main.c lib/*.c $TOYFILES || exit 1
+$DEBUG $CC $CFLAGS -I . -o toybox_unstripped $OPTIMIZE main.c lib/*.c \
+ $TOYFILES -Wl,--as-needed,-lutil,--no-as-needed || exit 1
$DEBUG $STRIP toybox_unstripped -o toybox || exit 1