From abd4b49bcc69fdb4e812b4490d0f35783ebeecda Mon Sep 17 00:00:00 2001 From: "Brian T. Rice" Date: Mon, 4 May 2009 14:57:20 -0700 Subject: [PATCH] Made WORD_SIZE implicit for builds by default. --- common.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index a20cb8f..7034c31 100644 --- a/common.mk +++ b/common.mk @@ -91,7 +91,7 @@ endif PLATFORM := unix CCVERSION := $(shell $(CC) -dumpversion) -WORD_SIZE := 32 +#WORD_SIZE := 32 LDFLAGS := # -avoid-version LIBS := #-lm -ldl #PLUGINS := platform.so posix.so pipe.so @@ -157,7 +157,9 @@ endif CFLAGS +=-DSLATE_DEFAULT_IMAGE=$(DEFAULT_IMAGE) -CFLAGS += -m$(WORD_SIZE) +ifdef WORD_SIZE + CFLAGS += -m$(WORD_SIZE) +endif #ifeq ($(CPU_TYPE), i686) # CFLAGS += -m$(WORD_SIZE) #endif -- 2.11.4.GIT