summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr/apr/0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-02-02 04:06:11 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-06 11:06:29 +0000
commit561d0ce5031429e78220f1d4e206829ad3a6cd1b (patch)
tree6ec1ddfd739dce56f3cd275b4f285b78061c5e20 /meta/recipes-support/apr/apr/0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
parent659d10a64cab58ffcf24522d17960adc66f7158d (diff)
downloadpoky-561d0ce5031429e78220f1d4e206829ad3a6cd1b.tar.gz
apr: 1.6.2 -> 1.6.3
1. Improve inappropriate patches: - Drop inappropriate configure_fixes.patch Use setting variable ac_cv_file__dev_zero and ac_cv_sizeof_struct_iovec to replace - Drop cleanup.patch Aassign variable libtool at ./buildconf executing and use 0001-build-buildcheck.sh-improve-libtool-detection.patch to replace. Submitted it to upstream. - Rename configfix.patch to 0002-apr-Remove-workdir-path-references-from-installed-ap.patch Add its original comments and author, explain why it is inappropriate - Drop upgrade-and-fix-1.5.1.patch Use 0003-Makefile.in-configure.in-support-cross-compiling.patch to replace. And submitted it to upstream. 2. Fix build path issue to improve reproducibility (From OE-Core rev: 29c4b19e640b544c9c351aec4292a3f65b619998) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/apr/apr/0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch')
-rw-r--r--meta/recipes-support/apr/apr/0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr/0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch b/meta/recipes-support/apr/apr/0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
new file mode 100644
index 0000000000..02634e6fde
--- /dev/null
+++ b/meta/recipes-support/apr/apr/0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
@@ -0,0 +1,36 @@
1From 2e66cece0c3adff92733332111204ddc1d730a07 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 19 Nov 2015 18:25:38 -0800
4Subject: [PATCH 5/7] configure.in: fix LTFLAGS to make it work with ccache
5
6When ccache is enabled, libtool requires --tag=CC when use ccache,
7otherwise when building apr-util with ccache enabled:
8
9| libtool: compile: unable to infer tagged configuration
10| libtool: error: specify a tag with '--tag'
11| libtool: compile: unable to infer tagged configuration
12| make[1]: *** [buckets/apr_buckets.lo] Error 1
13
14Upstream-Status: Pending
15
16Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
17---
18 configure.in | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/configure.in b/configure.in
22index 361120f..3b10422 100644
23--- a/configure.in
24+++ b/configure.in
25@@ -249,7 +249,7 @@ case $host in
26 ;;
27 *)
28 if test "x$LTFLAGS" = "x"; then
29- LTFLAGS='--silent'
30+ LTFLAGS='--silent --tag=CC'
31 fi
32 if test "$experimental_libtool" = "yes"; then
33 # Use a custom-made libtool replacement
34--
351.8.3.1
36