summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-04-12 10:59:34 +0000
committerPavel Labath <labath@google.com>2017-04-12 10:59:34 +0000
commitda7b15df703bae445ab76762891e49b7496abb88 (patch)
tree06981ea7a655c36bf7f224bc86e6249c731b423b /lldb/packages/Python/lldbsuite/test
parentd3656a03ab30554bb854d76e09706a887f429233 (diff)
downloadbcm5719-llvm-da7b15df703bae445ab76762891e49b7496abb88.tar.gz
bcm5719-llvm-da7b15df703bae445ab76762891e49b7496abb88.zip
Fix TestCppIncompleteTypes for android/clang
LDFLAGS contains some .a files. If it is specified before the relevant object files, undefined symbol errors occur. llvm-svn: 300048
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile
index 6595e33b726..bea4bf96e60 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile
@@ -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
OpenPOWER on IntegriCloud