summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1355f3c0da72..1436110f4900 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12445,6 +12445,10 @@ AC_CONFIG_HEADERS([config_host/config_vclplug.h])
AC_CONFIG_HEADERS([config_host/config_version.h])
AC_OUTPUT
+if test "$CROSS_COMPILING" = YES; then
+ (echo; echo export BUILD_TYPE_FOR_HOST=$BUILD_TYPE) >>config_build.mk
+fi
+
# touch the config timestamp file
if test ! -f config_host.mk.stamp; then
echo > config_host.mk.stamp