Skip to content

Commit

Permalink
binutils: Disable gprofng on i686 as it fails to build
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Dec 28, 2022
1 parent 91910a1 commit cbdbe58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cross/binutils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cbdbe58

Please sign in to comment.