flannel: unbreak i686

This commit is contained in:
Alessio Sergi 2017-01-31 18:40:12 +01:00
parent 1435315d93
commit d4b7eaa767

View file

@ -12,10 +12,6 @@ homepage="https://$go_import_path"
distfiles="$homepage/archive/v${version}.tar.gz"
checksum=16764a5bdceb46ca2cdce4a88c4974fba6f1ed3e58003f5d71447f0f3f2b631a
case "$XBPS_TARGET_MACHINE" in
i686*) broken="go i686 is broken for now";;
esac
pre_build() {
CGO_CFLAGS="${CGO_CFLAGS/-O2/}" # Disable optimizations because of a cgo bug in Go 1.6
}