From e7b1979bf6db5011d12e0072019622c1ccae3b3a Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 23 Mar 2004 23:42:53 +0000 Subject: [PATCH] Set $(machine) to $(os).$(machine) Support [789]86 as Intel also. --- src/xpdev/Common.gmake | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/xpdev/Common.gmake b/src/xpdev/Common.gmake index 51f8f69044..c0fe3ec6cc 100644 --- a/src/xpdev/Common.gmake +++ b/src/xpdev/Common.gmake @@ -44,14 +44,15 @@ ifndef os endif os := $(shell echo $(os) | tr '[A-Z]' '[a-z]' | tr ' ' '_') -machine := $(shell if uname -m | egrep -v "(i[3456]|x)86" > /dev/null; then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; fi) +machine := $(shell if uname -m | egrep -v "(i[3456789]|x)86" > /dev/null; then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; fi) ifeq ($(machine),) -LIBODIR := $(CCPRE).$(os).lib.$(BUILDPATH) -EXEODIR := $(CCPRE).$(os).exe.$(BUILDPATH) + machine := $(os) else -LIBODIR := $(CCPRE).$(os).$(machine).lib.$(BUILDPATH) -EXEODIR := $(CCPRE).$(os).$(machine).exe.$(BUILDPATH) + machine := $(os).$(machine) endif + +LIBODIR := $(CCPRE).$(machine).lib.$(BUILDPATH) +EXEODIR := $(CCPRE).$(machine).exe.$(BUILDPATH) LDFLAGS += -L$(LIBODIR) ifeq ($(os),netbsd) -- GitLab