termux-packages/packages/hub/script-build.patch

13 lines
507 B
Diff
Raw Normal View History

2019-06-29 16:53:41 +02:00
diff -uNr hub-2.12.1/script/build hub-2.12.1.mod/script/build
--- hub-2.12.1/script/build 2019-06-28 23:19:41.000000000 +0300
+++ hub-2.12.1.mod/script/build 2019-06-29 17:10:47.759789557 +0300
@@ -15,7 +15,7 @@
2019-01-27 09:20:42 +01:00
mkdir -p "$(dirname "$1")"
go build \
2019-06-29 16:53:41 +02:00
$MOD_VENDOR_ARG \
2019-01-27 09:20:42 +01:00
- -ldflags "-X github.com/github/hub/version.Version=`./script/version` $LDFLAGS" \
+ -ldflags "-X github.com/github/hub/version.Version=`./script/version`" \
-gcflags "$GCFLAGS" \
-asmflags "$ASMFLAGS" \
-o "$1"