From 7f4f7e1f329518842fea180c4f7deb2dff368406 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 11 Nov 2020 08:03:15 -0600 Subject: Make the static musl x86-64 binaries segfault for fewer people. Even though the gcc toolchain ./configure is told it's cross compiling, it optimizes for the current machine ANYWAY. So force it to be generic. --- scripts/mcm-buildall.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/mcm-buildall.sh') diff --git a/scripts/mcm-buildall.sh b/scripts/mcm-buildall.sh index 55fbeb77..cac41372 100755 --- a/scripts/mcm-buildall.sh +++ b/scripts/mcm-buildall.sh @@ -242,7 +242,8 @@ else armv7r:eabihf:"--with-arch=armv7-r --enable-default-pie" \ i486:: m68k:: microblaze:: mips:: mips64:: mipsel:: powerpc:: \ powerpc64:: powerpc64le:: s390x:: sh2eb:fdpic:--with-cpu=mj2 \ - sh4::--enable-incomplete-targets x86_64:: x86_64@x32:x32: + sh4::--enable-incomplete-targets x86_64::--with-mtune=nocona \ + x86_64@x32:x32: do make_tuple "$i" done -- cgit v1.2.3