[arch-commits] Commit in kcptun/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Oct 19 23:57:18 UTC 2019


    Date: Saturday, October 19, 2019 @ 23:57:17
  Author: jelle
Revision: 517574

upgpkg: kcptun 20190924-2

golang 1.13.1 security rebuild

Modified:
  kcptun/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-19 23:51:34 UTC (rev 517573)
+++ PKGBUILD	2019-10-19 23:57:17 UTC (rev 517574)
@@ -3,7 +3,7 @@
 
 pkgname=kcptun
 pkgver=20190924
-pkgrel=1
+pkgrel=2
 pkgdesc="A Secure Tunnel Based On KCP with N:M Multiplexing"
 arch=('x86_64')
 url="https://github.com/xtaci/kcptun"
@@ -26,10 +26,10 @@
 
 build() {
   cd "$srcdir"/kcptun-$pkgver/client
-  go build -o build/kcptun-client -ldflags "-X main.VERSION=$pkgver" # -gccgoflags "$CFLAGS $LDFLAGS"
+  go build -o build/kcptun-client -ldflags "-X main.VERSION=$pkgver -extldflags=${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
 
   cd "$srcdir"/kcptun-$pkgver/server
-  go build -o build/kcptun-server -ldflags "-X main.VERSION=$pkgver" # -gccgoflags "$CFLAGS $LDFLAGS"
+  go build -o build/kcptun-server -ldflags "-X main.VERSION=$pkgver -extldflags=${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
 }
 
 package() {



More information about the arch-commits mailing list