aboutsummaryrefslogtreecommitdiff
path: root/core/otools/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-22 10:36:07 +0300
committerCem Keylan <cem@ckyln.com>2021-07-22 10:36:07 +0300
commit234c8f7245c9e6b0b10a1786667c020d881f8964 (patch)
tree2484607b956ac6996b562604de6bba72aed0f54d /core/otools/build
parent0d12ac966f233365e50412e83c5c2a9d856fb940 (diff)
downloadrepository-234c8f7245c9e6b0b10a1786667c020d881f8964.tar.gz
otools: bump to 1.4.1
Diffstat (limited to 'core/otools/build')
-rwxr-xr-xcore/otools/build20
1 files changed, 6 insertions, 14 deletions
diff --git a/core/otools/build b/core/otools/build
index 2e76b3e4..4d7e2044 100755
--- a/core/otools/build
+++ b/core/otools/build
@@ -1,18 +1,10 @@
#!/bin/sh -e
-FTS=0; cpt l musl-fts && FTS=1
+export LDFLAGS="$LDFLAGS -static"
-# Remove symbolic link substitution on pax
-sed -i 's|IS_LINK|IS_HARDLINK|' bin/pax/pat_rep.c
+./configure \
+ --prefix=/usr \
+ --with-system-zlib
-mk() {
- make \
- PREFIX=/usr \
- TLSLIB="$(pkgconf --static --libs libtls)" \
- LDFLAGS="$LDFLAGS -static" \
- FTS="$FTS" \
- "$@"
-}
-
-mk
-mk DESTDIR="$1" install
+make
+make DESTDIR="$1" install