diff options
author | Rob Landley <rob@landley.net> | 2019-04-23 17:38:04 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-04-23 17:38:04 -0500 |
commit | d0471402144adc16d156db731375bb9320c7d4cb (patch) | |
tree | 3fca4c14d25c86d4a54aade8c32c9d4cee36fcb6 /scripts | |
parent | 05444e4ae675d9caa082f9ccec7270f8389893b1 (diff) | |
download | toybox-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-x | scripts/make.sh | 2 |
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 && |