Skip to content
Snippets Groups Projects
Unverified Commit b8d9a064 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

busybox: remove i386-specific build flags


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: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
parent 61eee1ad
No related branches found
No related tags found
No related merge requests found
--- 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,)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment