summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 114b16c..abb961e 100644
--- a/rules.mk
+++ b/rules.mk
@@ -122,6 +122,10 @@ endif
LIBRPC=-lrpc
LIBRPC_DEPENDS=+librpc
+ifneq ($(findstring $(ARCH) , mips64 x86_64 ),)
+ LIB_SUFFIX:=64
+endif
+
ifndef DUMP
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
-include $(TOOLCHAIN_DIR)/info.mk