[Lldb-commits] [lldb] r300048 - Fix TestCppIncompleteTypes for android/clang

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 12 03:59:34 PDT 2017


Author: labath
Date: Wed Apr 12 05:59:34 2017
New Revision: 300048

URL: http://llvm.org/viewvc/llvm-project?rev=300048&view=rev
Log:
Fix TestCppIncompleteTypes for android/clang

LDFLAGS contains some .a files. If it is specified before the relevant
object files, undefined symbol errors occur.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile

Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile?rev=300048&r1=300047&r2=300048&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile Wed Apr 12 05:59:34 2017
@@ -13,10 +13,10 @@ endif
 all: limit nolimit
 
 limit: main.o length_limit.o a.o
-	$(CXX) $(LDFLAGS) main.o length_limit.o a.o -o limit
+	$(CXX) main.o length_limit.o a.o -o limit $(LDFLAGS)
 
 nolimit: main.o length_nolimit.o a.o
-	$(CXX) $(LDFLAGS) main.o length_nolimit.o a.o -o nolimit
+	$(CXX) main.o length_nolimit.o a.o -o nolimit $(LDFLAGS)
 
 main.o: main.cpp
 	$(CXX) $(CFLAGS_LIMIT) main.cpp -o main.o




More information about the lldb-commits mailing list