aboutsummaryrefslogtreecommitdiff
path: root/core/otools/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/otools/build')
-rwxr-xr-xcore/otools/build13
1 files changed, 10 insertions, 3 deletions
diff --git a/core/otools/build b/core/otools/build
index 45da9bf9..b90aeebe 100755
--- a/core/otools/build
+++ b/core/otools/build
@@ -1,5 +1,12 @@
#!/bin/sh -e
-FTS=0; cpt l musl-fts && FTS=1
-make LDFLAGS=-static FTS="$FTS"
-make PREFIX=/usr DESTDIR="$1" install
+export LDFLAGS="$LDFLAGS -static"
+
+./configure \
+ --prefix=/usr \
+ --with-system-zlib
+
+make
+make DESTDIR="$1" install
+
+clinst -Dm644 doas.conf "$1/etc/doas.conf"