flannel: unbreak i686
This commit is contained in:
parent
1435315d93
commit
d4b7eaa767
1 changed files with 0 additions and 4 deletions
|
@ -12,10 +12,6 @@ homepage="https://$go_import_path"
|
||||||
distfiles="$homepage/archive/v${version}.tar.gz"
|
distfiles="$homepage/archive/v${version}.tar.gz"
|
||||||
checksum=16764a5bdceb46ca2cdce4a88c4974fba6f1ed3e58003f5d71447f0f3f2b631a
|
checksum=16764a5bdceb46ca2cdce4a88c4974fba6f1ed3e58003f5d71447f0f3f2b631a
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
i686*) broken="go i686 is broken for now";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
CGO_CFLAGS="${CGO_CFLAGS/-O2/}" # Disable optimizations because of a cgo bug in Go 1.6
|
CGO_CFLAGS="${CGO_CFLAGS/-O2/}" # Disable optimizations because of a cgo bug in Go 1.6
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue