summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-03-27 08:16:44 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-03-27 08:16:44 +0100
commit103a675d4aa803a1789557fd27b1bc5e766820ae (patch)
treeb2546e486186851e8c40bd698752ec49053263e8 /makefile
parent3fc637d9c6001f6031b7f0bab4ebe8b1c015ef21 (diff)
PTR64=0 is x86, PTR64=1 is x64 (nw)
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefile b/makefile
index 21a5419cb59..b43a1e9d7e1 100644
--- a/makefile
+++ b/makefile
@@ -145,7 +145,11 @@ endif
endif # TARGET_OS
ifdef PTR64
+ifeq ($(PTR64),1)
ARCHITECTURE = x64
+else
+ARCHITECTURE = x86
+endif
endif