diff options
Diffstat (limited to 'meta-networking/recipes-daemons/squid/files/Set-up-for-cross-compilation.patch')
-rw-r--r-- | meta-networking/recipes-daemons/squid/files/Set-up-for-cross-compilation.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/squid/files/Set-up-for-cross-compilation.patch b/meta-networking/recipes-daemons/squid/files/Set-up-for-cross-compilation.patch new file mode 100644 index 000000000..4ca27444a --- /dev/null +++ b/meta-networking/recipes-daemons/squid/files/Set-up-for-cross-compilation.patch | |||
@@ -0,0 +1,29 @@ | |||
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 | |||