Skip to contentSkip to conversation

package/xen: disable go tools

Buildroot Peter Korsgaard 1 participant 1 message Nov 9, 2020

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=c04a56af130a6d4276dbbd319639a3cdbf509229
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

go tools are enabled by default since version 4.14.0 and
https://github.com/xen-project/xen/commit/1e13ea98bbb8369d065af4666c45c26dab5240d5

Disable them to avoid the following build failure on arm or aarch64 (when host-go is built before xen):

aarch64-none-linux-gnu-gcc: error: unrecognized command line option '-m64'

Fixes:
- http://autobuild.buildroot.org/results/08948e4c4a88fbf09cae524949e5b656882a6e9a
- http://autobuild.buildroot.org/results/d966585c931ca4a4ae6a854a21e07eec4c277a02

---
 package/xen/xen.mk | 1 +
 1 file changed, 1 insertion(+)
package/xen/xen.mk +1 -0
index a30e80e5e7..8f1fa7db76 100644
@@ -18,6 +18,7 @@ XEN_ARCH = arm32
 endif
 
 XEN_CONF_OPTS = \
+	--disable-golang \
 	--disable-ocamltools \
 	--with-initddir=/etc/init.d