aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-11-11 08:03:15 -0600
committerRob Landley <rob@landley.net>2020-11-11 08:03:15 -0600
commit7f4f7e1f329518842fea180c4f7deb2dff368406 (patch)
tree6db2cc6f5f8ad61f2f1749a820fc645d6d2ab7fc /scripts
parent54e2cd704fb44b8e87bc4507ee852f22eeedfbe9 (diff)
downloadtoybox-7f4f7e1f329518842fea180c4f7deb2dff368406.tar.gz
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mcm-buildall.sh3
1 files changed, 2 insertions, 1 deletions
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