diff options
author | twinaphex | 2014-12-13 06:17:59 +0100 |
---|---|---|
committer | twinaphex | 2014-12-13 06:17:59 +0100 |
commit | 7e08f8c67b17ac8b1b9a318bede250caecad3818 (patch) | |
tree | 49f886c0d83aaeb46083d7058deec21e1891806d | |
parent | 5820d8be949f175ccafe2770295d99c3132056c5 (diff) | |
download | picogpsp-7e08f8c67b17ac8b1b9a318bede250caecad3818.tar.gz picogpsp-7e08f8c67b17ac8b1b9a318bede250caecad3818.tar.bz2 picogpsp-7e08f8c67b17ac8b1b9a318bede250caecad3818.zip |
Some Makefile improvements
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |