diff --git a/Makefile b/Makefile
index f97549f586b311319d8f98c498a6eb655d1e3f79..43b74fcee17ecc73589a470c9b5e03d78ef22207 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ ifeq ($(OS_NAME),linux)
 ifeq ($(MACHINE),ppc)
 HOST = linuxppc
 else
-ifeq ($(MACHINE),x86_64)
+ifeq ($(SIXTYFOURBIT),yes)
 HOST = amd64
 else
 HOST = linux