[Lldb-commits] [lldb] r369584 - When building file without debug info, include the architecture
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 21 14:34:17 PDT 2019
Author: jmolenda
Date: Wed Aug 21 14:34:17 2019
New Revision: 369584
URL: http://llvm.org/viewvc/llvm-project?rev=369584&view=rev
Log:
When building file without debug info, include the architecture
setting in the cflags on Darwin systems.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/class-name-clash/Makefile
Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/class-name-clash/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/class-name-clash/Makefile?rev=369584&r1=369583&r2=369584&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/class-name-clash/Makefile (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/class-name-clash/Makefile Wed Aug 21 14:34:17 2019
@@ -1,7 +1,11 @@
LEVEL = ../../../make
OBJCXX_SOURCES := main.mm myobject.mm
include $(LEVEL)/Makefile.rules
+CFLAGS_NO_DEBUG =
+ifeq "$(OS)" "Darwin"
+ CFLAGS_NO_DEBUG += -arch $(ARCH)
+endif
# myobject.o needs to be built without debug info
myobject.o: myobject.mm
- $(CXX) -c -o $@ $<
+ $(CXX) $(CFLAGS_NO_DEBUG) -c -o $@ $<
More information about the lldb-commits
mailing list