diff options
| author | KunoiSayami <[email protected]> | 2023-12-04 22:20:10 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2023-12-04 22:20:10 +0800 |
| commit | c185f14b298512ddbcfd5df35ad7443b7ffe05d7 (patch) | |
| tree | d90d679f203bc9a2df6e4be8c2f6e3bdd0689bc7 | |
| parent | df378879fc5ef20e1b4ef79468674a0529bc33f7 (diff) | |
fix(pkg): Fix rpdgw build argument
Signed-off-by: KunoiSayami <[email protected]>
| -rw-r--r-- | repo/rdpgw/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/repo/rdpgw/PKGBUILD b/repo/rdpgw/PKGBUILD index bce0cdc..e387fbd 100644 --- a/repo/rdpgw/PKGBUILD +++ b/repo/rdpgw/PKGBUILD @@ -2,7 +2,7 @@ pkgname=rdpgw pkgver=2.0 -pkgrel=6 +pkgrel=7 pkgdesc='Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes' arch=('any') url=https://github.com/bolkedebruin/rdpgw @@ -26,9 +26,9 @@ build() { export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" #export CGO_LDFLAGS="-linkmode=external -extldflags \"${LDFLAGS}\"" - export GOFLAGS="-buildmode=pie -trimpath -ldflags=\"-linkmode=external -extldflags \"${LDFLAGS}\"\" -mod=readonly -modcacherw" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - sed -i 's/$(LDFLAGS)//g' Makefile + sed -i 's/$(LDFLAGS)/-linkmode=external -extldflags \"${LDFLAGS}\"/g' Makefile make -j1 } |
