[Lldb-commits] [PATCH] D13111: [TestCppIncompleteTypes] Fix Makefile to handle different archs.

Siva Chandra via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 23 11:44:00 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL248416: [TestCppIncompleteTypes] Fix Makefile to handle different archs. (authored by sivachandra).

Changed prior to commit:
  http://reviews.llvm.org/D13111?vs=35535&id=35539#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D13111

Files:
  lldb/trunk/test/lang/cpp/incomplete-types/Makefile

Index: lldb/trunk/test/lang/cpp/incomplete-types/Makefile
===================================================================
--- lldb/trunk/test/lang/cpp/incomplete-types/Makefile
+++ lldb/trunk/test/lang/cpp/incomplete-types/Makefile
@@ -2,8 +2,8 @@
 
 CXX_SOURCES = main.cpp length.cpp
 
-CFLAGS_LIMIT = -g -O0 -c
-CFLAGS_NO_LIMIT = -g -O0 -c
+CFLAGS_LIMIT = -c $(CXXFLAGS)
+CFLAGS_NO_LIMIT = -c $(CXXFLAGS)
 
 ifneq (,$(findstring clang,$(CC)))
   CFLAGS_LIMIT += -flimit-debug-info
@@ -13,10 +13,10 @@
 all: limit nolimit
 
 limit: main.o length_limit.o
-	$(CXX) main.o length_limit.o -o limit
+	$(CXX) $(LDFLAGS) main.o length_limit.o -o limit
 
 nolimit: main.o length_nolimit.o
-	$(CXX) main.o length_nolimit.o -o nolimit
+	$(CXX) $(LDFLAGS) main.o length_nolimit.o -o nolimit
 
 main.o: main.cpp
 	$(CXX) $(CFLAGS_LIMIT) main.cpp -o main.o


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13111.35539.patch
Type: text/x-patch
Size: 849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150923/5fe621c3/attachment.bin>


More information about the lldb-commits mailing list