diff options
author | Martin Stolpe <martinstolpe@gmail.com> | 2015-06-10 16:28:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-26 09:08:40 +0100 |
commit | 8492e143af25bf64d07fc117e7f1607aadf89f09 (patch) | |
tree | bfc0891f3f1bef95cb2e4eebaa4a55c8855ba276 /meta/recipes-core/ncurses | |
parent | de6e4114d5285ea0d2a53d19c93ce96430cc9e30 (diff) | |
download | openembedded-core-8492e143af25bf64d07fc117e7f1607aadf89f09.tar.gz openembedded-core-8492e143af25bf64d07fc117e7f1607aadf89f09.tar.bz2 openembedded-core-8492e143af25bf64d07fc117e7f1607aadf89f09.zip |
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
(From OE-Core rev: 3a5435b371c84ec28b6936b8c8fa6541a592d061)
Signed-off-by: Martin Stolpe <martin.stolpe@gmail.com>
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ncurses')
-rw-r--r-- | meta/recipes-core/ncurses/ncurses.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 10f7dd175d..b438f8a2f3 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}" |