From 1b3ded69be81dfd85a4bfe2a83283160f236550f Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 15 Jul 2020 13:10:16 -0600 Subject: [PATCH] Attempt to compile binutils and gcc for generic x86_64 --- mk/prefix.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mk/prefix.mk b/mk/prefix.mk index 02ce5a4..693b652 100644 --- a/mk/prefix.mk +++ b/mk/prefix.mk @@ -80,6 +80,7 @@ $(PREFIX)/binutils-install: $(PREFIX)/binutils --program-prefix="$(TARGET)-" \ --prefix="" \ --disable-werror \ + --with-arch=x86-64 \ && \ $(MAKE) -j `$(NPROC)` all && \ $(MAKE) -j `$(NPROC)` install DESTDIR="$(ROOT)/$@.partial" @@ -113,6 +114,7 @@ $(PREFIX)/gcc-freestanding-install: $(PREFIX)/gcc | $(PREFIX)/binutils-install --disable-nls \ --enable-languages=c,c++ \ --without-headers \ + --with-arch=x86-64 \ && \ $(MAKE) -j `$(NPROC)` all-gcc && \ $(MAKE) -j `$(NPROC)` install-gcc DESTDIR="$(ROOT)/$@.partial" @@ -175,6 +177,7 @@ $(PREFIX)/gcc-install: $(PREFIX)/gcc | $(PREFIX)/relibc-freestanding-install --enable-languages=c,c++ \ --enable-shared \ --enable-threads=posix \ + --with-arch=x86-64 \ && \ $(MAKE) -j `$(NPROC)` all-gcc all-target-libgcc all-target-libstdc++-v3 && \ $(MAKE) -j `$(NPROC)` install-gcc install-target-libgcc install-target-libstdc++-v3 DESTDIR="$(ROOT)/$@.partial" && \