From d0471402144adc16d156db731375bb9320c7d4cb Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 23 Apr 2019 17:38:04 -0500 Subject: 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. --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 && -- cgit v1.2.3