aboutsummaryrefslogtreecommitdiff
path: root/core/otools/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/otools/build')
-rwxr-xr-xcore/otools/build7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/otools/build b/core/otools/build
index 71b410c4..45da9bf9 100755
--- a/core/otools/build
+++ b/core/otools/build
@@ -1,8 +1,5 @@
#!/bin/sh -e
-:> testfile
-less -F -T testfile testfile 2>/dev/null && echo CFLAGS += -DHAVE_LESS_T >> config.mk
-rm -f testfile
-
-make
+FTS=0; cpt l musl-fts && FTS=1
+make LDFLAGS=-static FTS="$FTS"
make PREFIX=/usr DESTDIR="$1" install