[Lldb-commits] [lldb] r234985 - Fix test makefile after r234949.

Tamas Berghammer tberghammer at google.com
Wed Apr 15 02:28:32 PDT 2015


Author: tberghammer
Date: Wed Apr 15 04:28:31 2015
New Revision: 234985

URL: http://llvm.org/viewvc/llvm-project?rev=234985&view=rev
Log:
Fix test makefile after r234949.

On non OSX architectures we don't need a space between the arch flag
(-m) and the value.

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=234985&r1=234984&r2=234985&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Wed Apr 15 04:28:31 2015
@@ -65,7 +65,7 @@ endif
 # ARCHFLAG is the flag used to tell the compiler which architecture
 # to compile for. The default is the flag that clang accepts.
 #----------------------------------------------------------------------
-ARCHFLAG ?= -arch
+ARCHFLAG ?= "-arch "
 
 #----------------------------------------------------------------------
 # Change any build/tool options needed
@@ -117,11 +117,11 @@ else
 endif
 
 CFLAGS ?= -g -O0
-CFLAGS += $(ARCHFLAG) $(ARCH) $(FRAMEWORK_INCLUDES) $(CFLAGS_EXTRAS) -I$(LLDB_BASE_DIR)include
+CFLAGS += $(ARCHFLAG)$(ARCH) $(FRAMEWORK_INCLUDES) $(CFLAGS_EXTRAS) -I$(LLDB_BASE_DIR)include
 CFLAGS += -include $(THIS_FILE_DIR)test_common.h
 
 # Use this one if you want to build one part of the result without debug information:
-CFLAGS_NO_DEBUG = -O0 $(ARCHFLAG) $(ARCH) $(FRAMEWORK_INCLUDES) $(CFLAGS_EXTRAS)
+CFLAGS_NO_DEBUG = -O0 $(ARCHFLAG)$(ARCH) $(FRAMEWORK_INCLUDES) $(CFLAGS_EXTRAS)
 
 CXXFLAGS += -std=c++11
 CXXFLAGS += $(CFLAGS)





More information about the lldb-commits mailing list