diff options
author | Frederic Riss <friss@apple.com> | 2018-06-15 20:36:03 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2018-06-15 20:36:03 +0000 |
commit | ecba8846aab3c7ab0c6d223456834222b8bec488 (patch) | |
tree | 4a41f0cdce4c79cb74e716494c04f49021fc2762 /lldb/packages/Python | |
parent | 56d9aa26abeb50ddb0bafd041b5145a82301525c (diff) | |
download | bcm5719-llvm-ecba8846aab3c7ab0c6d223456834222b8bec488.tar.gz bcm5719-llvm-ecba8846aab3c7ab0c6d223456834222b8bec488.zip |
Fix TestExec after r334783
The second makefile that was added has implicit rules which meant
that secondprog.cpp would be built once into a secondprog binary,
but it would also be compiled as a.out overwriting the main binary.
This lead to spurious failures.
This commit simplifies the Makefile to build only once with the correct
executable name.
llvm-svn: 334861
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk b/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk index 88f54705998..88f76b5113b 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk +++ b/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk @@ -1,13 +1,6 @@ LEVEL = ../../make CXX_SOURCES := secondprog.cpp - -all: secondprog - -secondprog: - $(CXX) $(CXXFLAGS) -o secondprog $(SRCDIR)/secondprog.cpp - -clean:: - rm -rf secondprog secondprog.dSYM +EXE = secondprog include $(LEVEL)/Makefile.rules |