summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrey Christoforo2019-09-25 11:40:15 +0100
committerGrey Christoforo2019-09-25 11:40:15 +0100
commit7ae7bccb180809ac0eff81f8f25c1dea08391fd3 (patch)
treef11bd70ae84826dc170cdf6f127e68fdb306ff40
parentf55f6a7c44785ce61bc260205feed6fb39ba22fc (diff)
downloadaur-7ae7bccb180809ac0eff81f8f25c1dea08391fd3.tar.gz
add gcc flags
-rw-r--r--PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fd86dcd11c15..e64e4e98ca87 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,6 +40,7 @@ build() {
-gcflags "all=-trimpath=$GOPATH" \
-asmflags "all=-trimpath=$GOPATH" \
-ldflags "-extldflags $LDFLAGS" \
+ -gccgoflags "$CFLAGS $LDFLAGS" \
-v .
chmod -R 744 "$GOPATH"