summaryrefslogtreecommitdiff
path: root/tools/lli/ChildTarget/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lli/ChildTarget/Makefile')
-rw-r--r--tools/lli/ChildTarget/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/lli/ChildTarget/Makefile b/tools/lli/ChildTarget/Makefile
index eff49c9f1c..35a354156c 100644
--- a/tools/lli/ChildTarget/Makefile
+++ b/tools/lli/ChildTarget/Makefile
@@ -12,8 +12,10 @@ TOOLNAME := lli-child-target
include $(LEVEL)/Makefile.config
-LINK_COMPONENTS :=
+LINK_COMPONENTS := support
-SOURCES += ../RemoteTarget.cpp
+CXXFLAGS += -DLLI_BUILDING_CHILD
+
+SOURCES := ChildTarget.cpp ../RemoteTarget.cpp
include $(LLVM_SRC_ROOT)/Makefile.rules