From c650f00a021aa478967a662d4ca13cb2755a4a87 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 30 Jul 2007 05:45:35 +0000 Subject: [PATCH] Fix for non-x86 machines. --- src/build/Common.gmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/Common.gmake b/src/build/Common.gmake index 25b4bcaf6e..f96858c18c 100644 --- a/src/build/Common.gmake +++ b/src/build/Common.gmake @@ -197,7 +197,7 @@ endif os := $(shell echo $(os) | tr '[A-Z]' '[a-z]' | tr ' ' '_') machine := $(shell if uname -m | egrep -v "(i[3456789]*|x)86" > /dev/null; then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; fi) -machine := $(shell if uname -m | egrep "64" > /dev/null; then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; fi) +machine := $(shell if uname -m | egrep "64" > /dev/null; then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; else echo $(machine) ; fi) ifeq ($(machine),x86_64) CFLAGS += -fPIC endif -- GitLab