[Lldb-commits] [lldb] r201802 - On FreeBSD "x86_64" is spelled "amd64"
Ed Maste
emaste at freebsd.org
Thu Feb 20 10:40:01 PST 2014
Author: emaste
Date: Thu Feb 20 12:40:01 2014
New Revision: 201802
URL: http://llvm.org/viewvc/llvm-project?rev=201802&view=rev
Log:
On FreeBSD "x86_64" is spelled "amd64"
Modified:
lldb/trunk/test/make/Makefile.rules
Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=201802&r1=201801&r2=201802&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Thu Feb 20 12:40:01 2014
@@ -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
More information about the lldb-commits
mailing list