aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-04-23 17:38:04 -0500
committerRob Landley <rob@landley.net>2019-04-23 17:38:04 -0500
commitd0471402144adc16d156db731375bb9320c7d4cb (patch)
tree3fca4c14d25c86d4a54aade8c32c9d4cee36fcb6 /scripts
parent05444e4ae675d9caa082f9ccec7270f8389893b1 (diff)
downloadtoybox-d0471402144adc16d156db731375bb9320c7d4cb.tar.gz
Remove librt, which is pulling in libpthread.
It hasn't been needed (for clock_gettime) since glibc 2.17 came out in December 2012 (which is more or less our 7 year support horizon) and Devuan 2.0 is not eliminating this with --as-needed (presumably due to some weak symbol nonsense), so... fix that bug.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 2fc94b4c..bdcfadea 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -104,7 +104,7 @@ then
# for it.
> generated/optlibs.dat
- for i in util crypt m resolv selinux smack attr rt crypto z log iconv
+ for i in util crypt m resolv selinux smack attr crypto z log iconv
do
echo "int main(int argc, char *argv[]) {return 0;}" | \
${CROSS_COMPILE}${CC} $CFLAGS $LDFLAGS -xc - -o generated/libprobe $LDASNEEDED -l$i > /dev/null 2>/dev/null &&