aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2011-11-01 21:30:04 +0000
committerStephen Hines <srhines@google.com>2011-11-14 09:11:34 -0800
commitb1ade7ea68c112c60ddcecbd0af0421a921ac2a7 (patch)
treed6a9dc0c4917c9fdd9859469906e5cc4b6357ef5
parentdcf660d2a47c8bc9ae6eef42084a06abd50eb740 (diff)
downloadexternal_llvm-b1ade7ea68c112c60ddcecbd0af0421a921ac2a7.zip
external_llvm-b1ade7ea68c112c60ddcecbd0af0421a921ac2a7.tar.gz
external_llvm-b1ade7ea68c112c60ddcecbd0af0421a921ac2a7.tar.bz2
derive LLVM_HOSTTRIPLE from target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143500 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac2
-rwxr-xr-xconfigure2
-rw-r--r--projects/sample/autoconf/configure.ac2
-rwxr-xr-xprojects/sample/configure2
4 files changed, 4 insertions, 4 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 8b64ce1..7586ba7 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 a1eb3b1..a10276b 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 fae0060..a5d786d 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 921afb5..1045b5d 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