diff options
| author | Ed Maste <emaste@freebsd.org> | 2014-02-20 18:40:01 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2014-02-20 18:40:01 +0000 |
| commit | 4fe0aba12b2f98aaa5af1384fec535fc911493f2 (patch) | |
| tree | ee69051fb0d3c3355296706b3839aba07a0746e5 | |
| parent | 259c617888208494ca017b22e384230c2344cf8b (diff) | |
| download | bcm5719-llvm-4fe0aba12b2f98aaa5af1384fec535fc911493f2.tar.gz bcm5719-llvm-4fe0aba12b2f98aaa5af1384fec535fc911493f2.zip | |
On FreeBSD "x86_64" is spelled "amd64"
llvm-svn: 201802
| -rw-r--r-- | lldb/test/make/Makefile.rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/test/make/Makefile.rules b/lldb/test/make/Makefile.rules index 99484a6b6a6..52e7555cca1 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 |

