2 Commits

2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 30 10:11:00 UTC 2024 - Sai Karthik Karra <kskarthik@disroot.org>
- build: disable pie flag for ppc64 arch
-------------------------------------------------------------------
Tue Jun 25 11:08:36 UTC 2024 - Sai Karthik Karra <kskarthik@disroot.org>

View File

@@ -40,9 +40,11 @@ configured.
%build
export GOWORK=off
go build \
-buildmode=pie \
-ldflags "-s -w"
%ifnarch ppc64
export GOFLAGS="-buildmode=pie"
%endif
go build
%install
# Install the binary.