summaryrefslogtreecommitdiff
path: root/tools/llvm-config/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-07-27 23:00:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-07-27 23:00:30 +0000
commit1bc686433bd5dea7ef4b8b5d97cd9461f041b56f (patch)
tree46fd449741fbb14fa90fc11b2fd629d3034e65dc /tools/llvm-config/Makefile
parentb3c334674ddf4671c22d750a612e91e481a33ac8 (diff)
downloadllvm-1bc686433bd5dea7ef4b8b5d97cd9461f041b56f.tar.gz
llvm-1bc686433bd5dea7ef4b8b5d97cd9461f041b56f.tar.bz2
llvm-1bc686433bd5dea7ef4b8b5d97cd9461f041b56f.tar.xz
Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs to
have a compile-host version of "nm", not build-host. In order to effect this we must use autoconf to determine the correct "nm" to use and propagate that through the makefiles, through llvm-config and finally to GenLibDeps.pl as an optional argument. Patch contributed by Anton Korobeynikov. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config/Makefile')
-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 2f8998eb8b..12cbe0f3ac 100644
--- a/tools/llvm-config/Makefile
+++ b/tools/llvm-config/Makefile
@@ -33,7 +33,7 @@ GenLibDeps = $(PROJ_SRC_ROOT)/utils/GenLibDeps.pl
$(LibDeps): $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a $(LibDir)/*.o)
$(Echo) "Regenerating LibDeps.txt"
- $(Verb) $(GenLibDeps) -flat $(LibDir) | sort > $(LibDeps)
+ $(Verb) $(GenLibDeps) -flat $(LibDir) $(NM_PATH) | sort > $(LibDeps)
# Find all the cyclic dependencies between various LLVM libraries, so we
# don't have to process them at runtime.