mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
63d1ec411f
* Now requires CGO for non AArch64 architectures. * Fix version number. * Disable static linking which does not work with liblog.
12 lines
476 B
Diff
12 lines
476 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -7,7 +7,7 @@
|
|
DATE := $(shell date +'%Y-%m-%d')
|
|
GOFLAGS ?= -buildmode=pie -trimpath -mod=readonly -modcacherw -pgo=default.pgo
|
|
GOFLAGS_STATIC ?= -trimpath -mod=readonly -modcacherw -pgo=default.pgo
|
|
-LDFLAGS := -s -w -extldflags '-static' \
|
|
+LDFLAGS := -s -w -extldflags '$(LDFLAGS)' \
|
|
-X '$(PACKAGE)/build.Version=$(VERSION)' \
|
|
-X '$(PACKAGE)/build.User=$(shell id -u -n)' \
|
|
-X '$(PACKAGE)/build.Time=$(shell LC_ALL=en_US.UTF-8 date)'
|