aboutsummaryrefslogtreecommitdiffstats
path: root/config/x86_32.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/x86_32.mk')
-rw-r--r--config/x86_32.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/x86_32.mk b/config/x86_32.mk
index 4db3c73b3b..7e13463326 100644
--- a/config/x86_32.mk
+++ b/config/x86_32.mk
@@ -7,5 +7,7 @@ CONFIG_XCUTILS := y
CONFIG_IOEMU := y
CFLAGS += -m32 -march=i686
-LDFLAGS += -m32
LIBDIR := lib
+
+# Use only if calling $(LD) directly.
+LDFLAGS_DIRECT += -melf_i386