abuild.conf: disable Go's buildvcs

This was added in Go 1.18 and enabled by default, and causes builds to
fail if $builddir is not a repo.
This commit is contained in:
Clayton Craft 2022-04-01 13:57:06 -07:00 committed by Natanael Copa
parent 79624340a1
commit f7f53bac28

View File

@ -2,7 +2,7 @@ export CFLAGS="-Os -fomit-frame-pointer"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
export LDFLAGS="-Wl,--as-needed,-O1,--sort-common"
export GOFLAGS="-buildmode=pie -modcacherw -trimpath"
export GOFLAGS="-buildmode=pie -modcacherw -trimpath -buildvcs=false"
# Do note that these should work with at least GDC and LDC
export DFLAGS="-Os"