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 $@ $< _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits