From 7e08f8c67b17ac8b1b9a318bede250caecad3818 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 13 Dec 2014 06:17:59 +0100 Subject: [PATCH] Some Makefile improvements --- Makefile | 5 +++-- 1 file 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