diff options
author | Martin Stolpe <martinstolpe@gmail.com> | 2015-06-10 16:28:26 +0200 |
---|---|---|
committer | Andreas Oberritter <obi@saftware.de> | 2016-03-16 22:06:46 +0100 |
commit | ec04e01a67fb816ea79c263d159a1919c319165f (patch) | |
tree | 5fdcf4645da85a1e2c51e6ffaf6eb74fd242986a /meta/recipes-core/ncurses/ncurses.inc | |
parent | 85872f0ac2743400f657a4ede301883a15e48be5 (diff) | |
download | openembedded-core-contrib-ec04e01a67fb816ea79c263d159a1919c319165f.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>
(cherry picked from commit 3a5435b371c84ec28b6936b8c8fa6541a592d061)
Signed-off-by: Andreas Oberritter <obi@saftware.de>
Diffstat (limited to 'meta/recipes-core/ncurses/ncurses.inc')
-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 01cdf132da..cd02045520 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -25,6 +25,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}" |