From cbdbe5899bc96af41890edaa28c8f86cb783ee66 Mon Sep 17 00:00:00 2001 From: Vincent Fortier Date: Wed, 28 Dec 2022 22:15:30 +0000 Subject: [PATCH] binutils: Disable gprofng on i686 as it fails to build --- cross/binutils/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cross/binutils/Makefile b/cross/binutils/Makefile index 0add7b7fdd2..2d65f3a56f7 100644 --- a/cross/binutils/Makefile +++ b/cross/binutils/Makefile @@ -13,9 +13,15 @@ LICENSE = GPLv2/LGPLv2 GNU_CONFIGURE = 1 +include ../../mk/spksrc.archs.mk + CONFIGURE_ARGS += --enable-host-shared CONFIGURE_ARGS += --with-system-zlib CONFIGURE_ARGS += --enable-gold=yes +# Fails to build on i686 +ifeq ($(findstring $(ARCH),$(i686_ARCHS)),$(ARCH)) +CONFIGURE_ARGS += --enable-gprofng=no +endif # Otherwise conflicts with gdb CONFIGURE_ARGS += --includedir=$(INSTALL_PREFIX)/include/binutils