aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ba39d1f..f8748a1 100644
--- a/Makefile
+++ b/Makefile
@@ -257,6 +257,11 @@ ifeq ($(PLATFORM),linux)
# linux32 make ...
BASE_CFLAGS += -m32
LDFLAGS+=-m32
+ else
+ ifeq ($(ARCH),ppc64)
+ BASE_CFLAGS += -m64
+ LDFLAGS += -m64
+ endif
endif
DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0