summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2010-01-19 22:09:45 +0000
committer Couriersud <couriersud@users.noreply.github.com>2010-01-19 22:09:45 +0000
commit0328f34acbf81861e948bb228ae885ce097d04f8 (patch)
tree83c6c7e40a95035259d4dd0793ac10d52764de96 /makefile
parent98b68249824536af9bd9f9c01513bae0a7781d3f (diff)
Autodetection of PTR64 can be inhibited now by specifying PTR64=0.
On mixed 32bit/64bit targets identifying themselves as 64bit this can be used to build a 32bit executable.
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 9791cd9e23f..f04d95d4d98 100644
--- a/makefile
+++ b/makefile
@@ -285,7 +285,7 @@ endif
endif
# 64-bit builds get a '64' suffix
-ifdef PTR64
+ifeq ($(PTR64),1)
SUFFIX64 = 64
endif
@@ -345,7 +345,7 @@ DEFS += -DLSB_FIRST
endif
# define PTR64 if we are a 64-bit target
-ifdef PTR64
+ifeq ($(PTR64),1)
DEFS += -DPTR64
endif