Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From 17e5a28667f667859c48bee25e575a072d39ee1b Mon Sep 17 00:00:00 2001 |
| 2 | Message-Id: <17e5a28667f667859c48bee25e575a072d39ee1b.1381956170.git.Jim.Somerville@windriver.com> |
| 3 | From: Jim Somerville <Jim.Somerville@windriver.com> |
| 4 | Date: Wed, 16 Oct 2013 16:41:03 -0400 |
| 5 | Subject: [PATCH 1/1] Set up for cross compilation |
| 6 | |
| 7 | Set the host compiler to BUILD_CXX so |
| 8 | proper cross compilation can occur. |
| 9 | |
| 10 | Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> |
| 11 | --- |
| 12 | configure.ac | 1 + |
| 13 | 1 files changed, 1 insertions(+), 0 deletions(-) |
| 14 | |
| 15 | diff --git a/configure.ac b/configure.ac |
| 16 | index c2d3033..dda9ed9 100644 |
| 17 | --- a/configure.ac |
| 18 | +++ b/configure.ac |
| 19 | @@ -19,6 +19,7 @@ m4_include([acinclude/lib-checks.m4]) |
| 20 | m4_include([acinclude/ax_cxx_compile_stdcxx_0x.m4]) |
| 21 | m4_include([acinclude/ax_cxx_0x_types.m4]) |
| 22 | |
| 23 | +HOSTCXX="$BUILD_CXX" |
| 24 | PRESET_CFLAGS="$CFLAGS" |
| 25 | PRESET_CXXFLAGS="$CXXFLAGS" |
| 26 | PRESET_LDFLAGS="$LDFLAGS" |
| 27 | -- |
| 28 | 1.7.4.1 |
| 29 | |