summaryrefslogtreecommitdiff
path: root/tools/llvm-config/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-12-16 00:04:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-12-16 00:04:43 +0000
commit275dd94afedd3b7331e5e93c9bbadac9a0415798 (patch)
tree342671386d2dca5cc4e6328909399ce86920c9d6 /tools/llvm-config/Makefile
parentb6744db06f088e1c8a8563c0cb6c202de9ef8aaa (diff)
llvm-config: Fix --targets-built, I changed this to use the registry but wasn't
properly initializing the target infos. I decided it wasn't worth linking them in for this, so just switched back to using the Makefile variable for now. We can reconsider later if we ever get pluggable targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config/Makefile')
-rw-r--r--tools/llvm-config/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile
index a7a2a63f99b..3f11730a37d 100644
--- a/tools/llvm-config/Makefile
+++ b/tools/llvm-config/Makefile
@@ -53,5 +53,7 @@ $(ObjDir)/BuildVariables.inc: $(BUILDVARIABLES_SRCPATH) Makefile $(ObjDir)/.dir
>> temp.sed
$(Verb) $(ECHO) 's/@LLVM_SYSTEM_LIBS@/$(subst /,\/,$(LIBS))/' \
>> temp.sed
+ $(Verb) $(ECHO) 's/@LLVM_TARGETS_BUILT@/$(subst /,\/,$(TARGETS_TO_BUILD))/' \
+ >> temp.sed
$(Verb) $(SED) -f temp.sed < $< > $@
$(Verb) $(RM) temp.sed