summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-04-23 20:35:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-28 09:45:42 +0100
commitb24aeb7b42b7d4edd693eaac139e742776a854dd (patch)
treefcd3fccb5f79453a2a223e4bb84ef1f3dfc47940
parent1cd4b260b506aed33901781873513b90bd170b59 (diff)
downloadpoky-b24aeb7b42b7d4edd693eaac139e742776a854dd.tar.gz
subversion: Add -P to CPPFLAGS
see https://gcc.gnu.org/gcc-5/porting_to.html we need to stop the preprocessor from generating the #line directives or we run into issues like | checking for apr_int64_t Python/C API format string... | configure: error: failed to recognize APR_INT64_T_FMT on this platform | Configure failed. The contents of all config.log files follows to aid debugging | ERROR: oe_runconf failed Rightly subversion should be fixed but lets leave that to subversion folks Change-Id: I02a89798ff949f79967ab0a73adcddaa4218662d (From OE-Core rev: 7793b1c425077ed6ed11a9bc2a8b1b96612b1c96) (From OE-Core rev: a240d28492f05c22198dd4b20c11c0d510f0c897) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/subversion/subversion_1.8.11.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/subversion/subversion_1.8.11.bb b/meta/recipes-devtools/subversion/subversion_1.8.11.bb
index 8e4cd9df08..d5295d836b 100644
--- a/meta/recipes-devtools/subversion/subversion_1.8.11.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.8.11.bb
@@ -7,7 +7,7 @@ HOMEPAGE = "http://subversion.tigris.org"
7 7
8BBCLASSEXTEND = "native" 8BBCLASSEXTEND = "native"
9 9
10inherit gettext 10inherit gettext pythonnative
11 11
12SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ 12SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
13 file://libtool2.patch \ 13 file://libtool2.patch \
@@ -31,6 +31,7 @@ EXTRA_OECONF = " \
31inherit autotools 31inherit autotools
32 32
33export LDFLAGS += " -L${STAGING_LIBDIR} " 33export LDFLAGS += " -L${STAGING_LIBDIR} "
34CPPFLAGS += "-P"
34 35
35acpaths = "-I build/ -I build/ac-macros/" 36acpaths = "-I build/ -I build/ac-macros/"
36 37