aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/utils/busybox/patches/111-i386_no_arch_flags.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/utils/busybox/patches/111-i386_no_arch_flags.patch b/package/utils/busybox/patches/111-i386_no_arch_flags.patch
new file mode 100644
index 0000000000..4560136871
--- /dev/null
+++ b/package/utils/busybox/patches/111-i386_no_arch_flags.patch
@@ -0,0 +1,10 @@
+--- a/arch/i386/Makefile
++++ /dev/null
+@@ -1,7 +0,0 @@
+-# ==========================================================================
+-# Build system
+-# ==========================================================================
+-
+-# -mpreferred-stack-boundary=2 is essential in preventing gcc 4.2.x
+-# from aligning stack to 16 bytes. (Which is gcc's way of supporting SSE).
+-CFLAGS += $(call cc-option,-march=i386 -mpreferred-stack-boundary=2,)