Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 1 | From d439093aa07a486f559206ac9e5808a6a18218cd Mon Sep 17 00:00:00 2001 |
| 2 | From: Robert Yang <liezhi.yang@windriver.com> |
| 3 | Date: Thu, 19 Nov 2015 18:25:38 -0800 |
| 4 | Subject: [PATCH] configure.in: fix LTFLAGS to make it work with ccache |
| 5 | |
| 6 | When ccache is enabled, libtool requires --tag=CC when use ccache, |
| 7 | otherwise 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 | |
| 14 | Upstream-Status: Pending |
| 15 | |
| 16 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
| 17 | --- |
| 18 | configure.in | 2 +- |
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 20 | |
| 21 | diff --git a/configure.in b/configure.in |
| 22 | index 5a4a988..9d57ae6 100644 |
| 23 | --- a/configure.in |
| 24 | +++ b/configure.in |
| 25 | @@ -246,7 +246,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 | -- |
| 35 | 1.7.9.5 |
| 36 | |