aboutsummaryrefslogtreecommitdiffstats
path: root/config/x86_64.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/x86_64.mk')
-rw-r--r--config/x86_64.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/x86_64.mk b/config/x86_64.mk
index c76567563c..3825caafd5 100644
--- a/config/x86_64.mk
+++ b/config/x86_64.mk
@@ -7,5 +7,7 @@ CONFIG_XCUTILS := y
CONFIG_IOEMU := y
CFLAGS += -m64
-LDFLAGS += -m64
LIBDIR = $(LIB64DIR)
+
+# Use only if calling $(LD) directly.
+LDFLAGS_DIRECT += -melf_x86_64