diff options
author | Rob Landley <rob@landley.net> | 2020-11-11 08:03:15 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-11-11 08:03:15 -0600 |
commit | 7f4f7e1f329518842fea180c4f7deb2dff368406 (patch) | |
tree | 6db2cc6f5f8ad61f2f1749a820fc645d6d2ab7fc | |
parent | 54e2cd704fb44b8e87bc4507ee852f22eeedfbe9 (diff) | |
download | toybox-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.
-rwxr-xr-x | scripts/mcm-buildall.sh | 3 |
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 |