summaryrefslogtreecommitdiff
path: root/tools/llvm-config
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-11-27 17:53:54 +0000
committerTed Kremenek <kremenek@apple.com>2007-11-27 17:53:54 +0000
commitf248f0db1232af8c1f768eda4e4b73b5095660da (patch)
tree635f59ecf03aceba7c067b6b77f5bdf9f7546a22 /tools/llvm-config
parenta1afde77fa70ae0343ecbb6bc48388bb508d6c8f (diff)
downloadllvm-f248f0db1232af8c1f768eda4e4b73b5095660da.tar.gz
llvm-f248f0db1232af8c1f768eda4e4b73b5095660da.tar.bz2
llvm-f248f0db1232af8c1f768eda4e4b73b5095660da.tar.xz
Added quotes around $(NM_PATH) argument to GenLibDeps.pl script so that
the "-p" option is actually seen by nm (it was being dropped as it was considered as separate argument to the Perl script). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config')
-rw-r--r--tools/llvm-config/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile
index 20bd01a3e4..5a42bc84cf 100644
--- a/tools/llvm-config/Makefile
+++ b/tools/llvm-config/Makefile
@@ -36,7 +36,7 @@ GenLibDeps = $(PROJ_SRC_ROOT)/utils/GenLibDeps.pl
$(LibDepsTemp): $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a $(LibDir)/*.o)
$(Echo) "Regenerating LibDeps.txt.tmp"
- $(Verb) $(PERL) $(GenLibDeps) -flat $(LibDir) $(NM_PATH) > $(LibDepsTemp)
+ $(Verb) $(PERL) $(GenLibDeps) -flat $(LibDir) "$(NM_PATH)" > $(LibDepsTemp)
$(LibDeps): $(LibDepsTemp)
$(Verb) $(CMP) -s $@ $< || ( $(CP) $< $@ && \