On FreeBSD uname -a reports 'amd64' for the 64-bit x86 architecture.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ed Maste <[email protected]>
---
 BaseTools/Source/C/GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BaseTools/Source/C/GNUmakefile b/BaseTools/Source/C/GNUmakefile
index 124517b..6aa37e4 100644
--- a/BaseTools/Source/C/GNUmakefile
+++ b/BaseTools/Source/C/GNUmakefile
@@ -19,7 +19,7 @@ ifndef ARCH
   #

   uname_m = $(shell uname -m)

   $(info Attempting to detect ARCH from 'uname -m': $(uname_m))

-  ifeq ($(uname_m),x86_64)

+  ifneq (,$(strip $(filter $(uname_m), x86_64 amd64)))

     ARCH=X64

   endif

   ifeq ($(patsubst i%86,IA32,$(uname_m)),IA32)

-- 
1.8.4.3


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to