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 | eca6f7320ee70a0cee0db83f055ce1832d449127 (patch) | |
| tree | 3bc2ad34c4bbd0d588f08c9de067f99791818fbc /llvm/autoconf/configure.ac | |
| parent | 390dd7eb7d51819dbe2a832f7dabab40ceb930ff (diff) | |
| download | bcm5719-llvm-eca6f7320ee70a0cee0db83f055ce1832d449127.tar.gz bcm5719-llvm-eca6f7320ee70a0cee0db83f055ce1832d449127.zip | |
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!
llvm-svn: 29368
Diffstat (limited to 'llvm/autoconf/configure.ac')
| -rw-r--r-- | llvm/autoconf/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 31185a04e18..3a40d9b1346 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/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 |

