[Lldb-commits] [lldb] r248416 - [TestCppIncompleteTypes] Fix Makefile to handle different archs.
Siva Chandra via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 23 11:36:40 PDT 2015
Author: sivachandra
Date: Wed Sep 23 13:36:39 2015
New Revision: 248416
URL: http://llvm.org/viewvc/llvm-project?rev=248416&view=rev
Log:
[TestCppIncompleteTypes] Fix Makefile to handle different archs.
Reviewers: chying
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13111
Modified:
lldb/trunk/test/lang/cpp/incomplete-types/Makefile
Modified: lldb/trunk/test/lang/cpp/incomplete-types/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/incomplete-types/Makefile?rev=248416&r1=248415&r2=248416&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/incomplete-types/Makefile (original)
+++ lldb/trunk/test/lang/cpp/incomplete-types/Makefile Wed Sep 23 13:36:39 2015
@@ -2,8 +2,8 @@ LEVEL = ../../../make
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 @@ endif
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
More information about the lldb-commits
mailing list