diff --git a/src/build/Common.gmake b/src/build/Common.gmake index 25b4bcaf6ed9ad58127c300c48b3365c2e5e29ef..f96858c18cd523b0fa83ae96f7f11444fdec4591 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