Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit c34f47d

Browse files
committed
ab3_defcfg: (GOFLAGS) shift the comment position
This will fix an issue where one GOFLAG is not applied.
1 parent 49eca10 commit c34f47d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

etc/autobuild/ab3_defcfg.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ ABQA=yes
146146
ABINSTALL="dpkg"
147147

148148
# Golang default build flags | Adapted from Arch Linux's Go package guildline.
149-
GOFLAGS+=" -mod=readonly" # Ensure module files are not updated during building process.
150-
GOFLAGS+=" -trimpath" # Required for eproducible build.
151-
GOFLAGS+=" -modcacherw" # Ensures that go modules creates a write-able path.
152-
GOFLAGS+=" -buildmode=pie"# Hardening binary.
149+
GOFLAGS+=" -mod=readonly" # Ensure module files are not updated during building process.
150+
GOFLAGS+=" -trimpath" # Required for eproducible build.
151+
GOFLAGS+=" -modcacherw" # Ensures that go modules creates a write-able path.
152+
GOFLAGS+=" -buildmode=pie" # Hardening binary.
153153

154154
# Old, default.
155155
[[ -d "$AB"/etc/autobuild/defaults ]] && recsr "$AB"/etc/autobuild/defaults/*!(.dpkg*|dist)

0 commit comments

Comments
 (0)