diff options
Diffstat (limited to 'core/otools/build')
-rwxr-xr-x | core/otools/build | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/otools/build b/core/otools/build index 71b410c4..b90aeebe 100755 --- a/core/otools/build +++ b/core/otools/build @@ -1,8 +1,12 @@ #!/bin/sh -e -:> testfile -less -F -T testfile testfile 2>/dev/null && echo CFLAGS += -DHAVE_LESS_T >> config.mk -rm -f testfile +export LDFLAGS="$LDFLAGS -static" + +./configure \ + --prefix=/usr \ + --with-system-zlib make -make PREFIX=/usr DESTDIR="$1" install +make DESTDIR="$1" install + +clinst -Dm644 doas.conf "$1/etc/doas.conf" |