summaryrefslogtreecommitdiffstats
path: root/meta
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-07-26 09:14:43 +0100
commit53b0be37614607e559d5165d55cc8e42872f00d9 (patch)
treee0325b2e8e2bbd92e2433eaa3db24c0fdb4bdcb9 /meta
parentca052426a66ffa45b8c4fa54284dcce11fd2d598 (diff)
downloadpoky-53b0be37614607e559d5165d55cc8e42872f00d9.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: 4954cd6abad556d75beec860e82750bb1090a109) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/subversion/subversion_1.8.9.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/subversion/subversion_1.8.9.bb b/meta/recipes-devtools/subversion/subversion_1.8.9.bb
index 1ef59a0c00..0e8b122bfa 100644
--- a/meta/recipes-devtools/subversion/subversion_1.8.9.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.8.9.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 \
@@ -33,6 +33,7 @@ EXTRA_OECONF = " \
33inherit autotools 33inherit autotools
34 34
35export LDFLAGS += " -L${STAGING_LIBDIR} " 35export LDFLAGS += " -L${STAGING_LIBDIR} "
36CPPFLAGS += "-P"
36 37
37acpaths = "-I build/ -I build/ac-macros/" 38acpaths = "-I build/ -I build/ac-macros/"
38 39