summaryrefslogtreecommitdiff
path: root/target/x86_64/target.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/x86_64/target.mk')
-rw-r--r--target/x86_64/target.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/x86_64/target.mk b/target/x86_64/target.mk
index 53d0acf59..1d5465d7a 100644
--- a/target/x86_64/target.mk
+++ b/target/x86_64/target.mk
@@ -2,4 +2,8 @@ include $(TOPDIR)/mk/kernel-ver.mk
ARCH:= x86
CPU_ARCH:= x86_64
TARGET_OPTIMIZATION:= -O2 -pipe
-TARGET_CFLAGS_ARCH:= $(ADK_TARGET_CFLAGS)
+ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
+TARGET_CFLAGS_ARCH:= $(ADK_TARGET_CFLAGS)
+else
+TARGET_CFLAGS_ARCH:= $(ADK_TARGET_CFLAGS) $(ADK_TARGET_ABI_CFLAGS)
+endif