From 4fe0aba12b2f98aaa5af1384fec535fc911493f2 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 20 Feb 2014 18:40:01 +0000 Subject: [PATCH] On FreeBSD "x86_64" is spelled "amd64" llvm-svn: 201802 --- lldb/test/make/Makefile.rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lldb/test/make/Makefile.rules b/lldb/test/make/Makefile.rules index 99484a6b6a6c..52e7555cca1f 100644 --- a/lldb/test/make/Makefile.rules +++ b/lldb/test/make/Makefile.rules @@ -73,7 +73,10 @@ else # On non-Apple platforms, -arch becomes -m ARCHFLAG := -m - # i386 becomes 32, and x86_64 becomes 64 + # i386 becomes 32, and amd64 or x86_64 becomes 64 + ifeq "$(ARCH)" "amd64" + override ARCH := $(subst amd64,64,$(ARCH)) + endif ifeq "$(ARCH)" "x86_64" override ARCH := $(subst x86_64,64,$(ARCH)) endif