aboutsummaryrefslogtreecommitdiffstats
path: root/projects/sample
diff options
context:
space:
mode:
Diffstat (limited to 'projects/sample')
-rw-r--r--projects/sample/autoconf/configure.ac2
-rwxr-xr-xprojects/sample/configure2
2 files changed, 2 insertions, 2 deletions
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