From: Sebastian Pop Date: Tue, 1 Nov 2011 21:30:04 +0000 (+0000) Subject: derive LLVM_HOSTTRIPLE from target X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=c4cbf4a6a42a066b6232b44c6931452f8fc00857 derive LLVM_HOSTTRIPLE from target git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143500 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 8b64ce11d5d..7586ba7a8ae 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -1453,7 +1453,7 @@ AC_DEFINE_UNQUOTED(LLVM_MANDIR, "$LLVM_MANDIR", [Installation directory for man pages]) AC_DEFINE_UNQUOTED(LLVM_CONFIGTIME, "$LLVM_CONFIGTIME", [Time at which LLVM was configured]) -AC_DEFINE_UNQUOTED(LLVM_HOSTTRIPLE, "$host", +AC_DEFINE_UNQUOTED(LLVM_HOSTTRIPLE, "$target", [Host triple we were built on]) # Determine which bindings to build. diff --git a/configure b/configure index a1eb3b1d5d7..a10276bad42 100755 --- a/configure +++ b/configure @@ -20865,7 +20865,7 @@ _ACEOF cat >>confdefs.h <<_ACEOF -#define LLVM_HOSTTRIPLE "$host" +#define LLVM_HOSTTRIPLE "$target" _ACEOF diff --git a/projects/sample/autoconf/configure.ac b/projects/sample/autoconf/configure.ac index fae00605f6d..a5d786d78ee 100644 --- a/projects/sample/autoconf/configure.ac +++ b/projects/sample/autoconf/configure.ac @@ -1386,7 +1386,7 @@ AC_DEFINE_UNQUOTED(LLVM_MANDIR, "$LLVM_MANDIR", [Installation directory for man pages]) AC_DEFINE_UNQUOTED(LLVM_CONFIGTIME, "$LLVM_CONFIGTIME", [Time at which LLVM was configured]) -AC_DEFINE_UNQUOTED(LLVM_HOSTTRIPLE, "$host", +AC_DEFINE_UNQUOTED(LLVM_HOSTTRIPLE, "$target", [Host triple we were built on]) # Determine which bindings to build. diff --git a/projects/sample/configure b/projects/sample/configure index 921afb5b1e1..1045b5de8aa 100755 --- a/projects/sample/configure +++ b/projects/sample/configure @@ -20815,7 +20815,7 @@ _ACEOF cat >>confdefs.h <<_ACEOF -#define LLVM_HOSTTRIPLE "$host" +#define LLVM_HOSTTRIPLE "$target" _ACEOF