mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
b8d9a064f0
busybox tries to be smart and passes a number of additional flags to the compiler. Unfortunately, the i386-specific flags break ABI compatiblity with libc. Fixes busybox crashes observed on x86-generic with GCC 7. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
11 lines
445 B
Diff
11 lines
445 B
Diff
--- 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,)
|