1From c0be3192f608037682464bcb728e97f9d9b543aa Mon Sep 17 00:00:00 2001
2From: Jim Somerville <Jim.Somerville@windriver.com>
3Date: Wed, 16 Oct 2013 16:41:03 -0400
4Subject: [PATCH] Set up for cross compilation
5
6Message-Id: <17e5a28667f667859c48bee25e575a072d39ee1b.1381956170.git.Jim.Somerville@windriver.com>
7
8Set the host compiler to BUILD_CXX so
9proper cross compilation can occur.
10
11Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
12
13---
14Upstream-Status: Pending
15
16 configure.ac | 1 +
17 1 file changed, 1 insertion(+)
18
19--- a/configure.ac
20+++ b/configure.ac
21@@ -29,6 +29,7 @@ m4_include([acinclude/tdb.m4])
22 m4_include([acinclude/lib-checks.m4])
23 m4_include([acinclude/ax_cxx_compile_stdcxx.m4])
24
25+HOSTCXX="$BUILD_CXX"
26 PRESET_CFLAGS="$CFLAGS"
27 PRESET_CXXFLAGS="$CXXFLAGS"
28 PRESET_LDFLAGS="$LDFLAGS"
29