commit 309ec72
chld
·
2026-09-06 17:13:25 +0000 UTC
parent 1c38fad
twin: manual build() using gmake
1 files changed,
+10,
-1
+10,
-1
1@@ -3,6 +3,15 @@ NAME=twin
2 VERSION=git
3 RELEASE=1
4 SOURCE="https://github.com/cosmos72/${NAME}"
5-BUILD_OPT="--enable-static --disable-shared"
6+
7+build(){
8+
9+ CFLAGS='-static -O3 -pipe' LDFLAGS='-static' ./configure \
10+ --enable-static \
11+ --disable-shared || die 'configure failed'
12+
13+ gmake LDFLAgS='-static -all-static' CFLAGS='-static -O3 -pipe' || die 'gmake failed'
14+ gmake LDFLAgS='-static' CFLAGS='-static -O3 -pipe' DESTDIR="$PKG" install || die 'install failed'
15+}
16
17 . ${0%/*}/../../libsh/libdmake.sh