summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2014-12-13 06:17:59 +0100
committertwinaphex2014-12-13 06:17:59 +0100
commit7e08f8c67b17ac8b1b9a318bede250caecad3818 (patch)
tree49f886c0d83aaeb46083d7058deec21e1891806d /Makefile
parent5820d8be949f175ccafe2770295d99c3132056c5 (diff)
downloadpicogpsp-7e08f8c67b17ac8b1b9a318bede250caecad3818.tar.gz
picogpsp-7e08f8c67b17ac8b1b9a318bede250caecad3818.tar.bz2
picogpsp-7e08f8c67b17ac8b1b9a318bede250caecad3818.zip
Some Makefile improvements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1d887cc..372756a 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ ifeq ($(platform),)
arch = intel
ifeq ($(shell uname -p),powerpc)
arch = ppc
+ FORCE_32BIT_ARCH = 1
endif
else ifneq ($(findstring win,$(shell uname -a)),)
platform = win
@@ -32,7 +33,7 @@ ifeq ($(firstword $(filter x86_64,$(UNAME))),x86_64)
else ifeq ($(firstword $(filter amd64,$(UNAME))),amd64)
else ifeq ($(firstword $(filter x86,$(UNAME))),x86)
- FORCE_32BIT_ARCH := 1
+ FORCE_32BIT_ARCH = 1
endif
FORCE_32BIT :=
@@ -233,7 +234,7 @@ ifeq ($(HAVE_MMAP), 1)
CFLAGS += -DHAVE_MMAP
endif
-ifeq ($(HAVE_DYNAREC), 1)
+ifeq ($(FORCE_32BIT_ARCH), 1)
# Forcibly disable PIC
fpic :=
endif