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 /Makefile.config.in | |
parent | b3c334674ddf4671c22d750a612e91e481a33ac8 (diff) | |
download | llvm-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 'Makefile.config.in')
-rw-r--r-- | Makefile.config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in index feaf81544d..9b2deac126 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -129,6 +129,9 @@ LDFLAGS+=@LDFLAGS@ # Path to the library archiver program. AR_PATH = @AR@ +# Path to the nm program +NM_PATH = @NM@ + # The pathnames of the programs we require to build BISON := @BISON@ CMP := @CMP@ |