diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-07-27 23:00:30 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-07-27 23:00:30 +0000 |
commit | 1bc686433bd5dea7ef4b8b5d97cd9461f041b56f (patch) | |
tree | 46fd449741fbb14fa90fc11b2fd629d3034e65dc /autoconf | |
parent | b3c334674ddf4671c22d750a612e91e481a33ac8 (diff) | |
download | external_llvm-1bc686433bd5dea7ef4b8b5d97cd9461f041b56f.zip external_llvm-1bc686433bd5dea7ef4b8b5d97cd9461f041b56f.tar.gz external_llvm-1bc686433bd5dea7ef4b8b5d97cd9461f041b56f.tar.bz2 |
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 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 31185a0..3a40d9b 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -357,6 +357,9 @@ AC_PROG_CXX(g++) AC_PROG_FLEX AC_PROG_BISON +AC_PROG_NM +AC_SUBST(NM) + dnl Check for the tools that the makefiles require AC_CHECK_GNU_MAKE AC_PROG_LN_S |