aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/x86_32.mk1
-rw-r--r--config/x86_64.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/x86_32.mk b/config/x86_32.mk
index 2d460a720a..4a45cd9a83 100644
--- a/config/x86_32.mk
+++ b/config/x86_32.mk
@@ -6,4 +6,5 @@ CONFIG_IOEMU := y
CONFIG_MBOOTPACK := y
CFLAGS += -m32 -march=i686
+LDFLAGS += -m32
LIBDIR := lib
diff --git a/config/x86_64.mk b/config/x86_64.mk
index bd43c04a6c..5f6909eda7 100644
--- a/config/x86_64.mk
+++ b/config/x86_64.mk
@@ -6,4 +6,5 @@ CONFIG_IOEMU := y
CONFIG_MBOOTPACK := y
CFLAGS += -m64
+LDFLAGS += -m64
LIBDIR = lib64