[Lldb-commits] [lldb] r156882 - /lldb/trunk/test/functionalities/load_unload/Makefile

Johnny Chen johnny.chen at apple.com
Tue May 15 17:33:34 PDT 2012


Author: johnny
Date: Tue May 15 19:33:34 2012
New Revision: 156882

URL: http://llvm.org/viewvc/llvm-project?rev=156882&view=rev
Log:
Fix Makefile to pass the correct -arch flag to the toolchains.

Modified:
    lldb/trunk/test/functionalities/load_unload/Makefile

Modified: lldb/trunk/test/functionalities/load_unload/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/load_unload/Makefile?rev=156882&r1=156881&r2=156882&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/load_unload/Makefile (original)
+++ lldb/trunk/test/functionalities/load_unload/Makefile Tue May 15 19:33:34 2012
@@ -1,7 +1,10 @@
 all: a.out liba.dylib libb.dylib libc.dylib libd.dylib
 
 CC ?= clang
-CFLAGS ?=-arch x86_64 -gdwarf-2 -O0
+ifeq "$(ARCH)" ""
+	ARCH = x86_64
+endif
+CFLAGS ?=-arch $(ARCH) -gdwarf-2 -O0
 CWD := $(shell pwd)
 
 all: a.out hidden/libd.dylib





More information about the lldb-commits mailing list