aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMartin Stolpe <martinstolpe@gmail.com>2015-06-10 16:28:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-28 09:42:02 +0100
commit3a5435b371c84ec28b6936b8c8fa6541a592d061 (patch)
treed6c32f2e9e3f30ed40184ea4402090b830b48637 /meta/recipes-core
parentb3bd0dba3139a3e79bfcebe137248c7bdcadf04d (diff)
downloadopenembedded-core-3a5435b371c84ec28b6936b8c8fa6541a592d061.tar.gz
ncurses: fix native builds when host has gcc5
GCC"s preprocessor starts to add newlines which are not handled properly by ncurses build system startin from version 5.0. See also: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7870 Signed-off-by: Martin Stolpe <martin.stolpe@gmail.com> Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 1b0f10c881..cd78873720 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -27,6 +27,7 @@ ENABLE_WIDEC ?= "true"
# for target objects. But it must be set manually for native and sdk
# builds.
BUILD_CPPFLAGS += "-D_GNU_SOURCE"
+BUILD_CPPFLAGS_append_virtclass-native = " -P"
# natives don't generally look in base_libdir
base_libdir_class-native = "${libdir}"