[oe-commits] Martin Stolpe : ncurses: fix native builds when host has gcc5
git at git.openembedded.org
git at git.openembedded.org
Sun Jun 28 08:46:41 UTC 2015
Module: openembedded-core.git
Branch: fido
Commit: 3a5435b371c84ec28b6936b8c8fa6541a592d061
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3a5435b371c84ec28b6936b8c8fa6541a592d061
Author: Martin Stolpe <martinstolpe at gmail.com>
Date: Wed Jun 10 16:28:26 2015 +0200
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 at gmail.com>
Signed-off-by: Joshua Lock <joshua.lock at collabora.co.uk>
---
meta/recipes-core/ncurses/ncurses.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 1b0f10c..cd78873 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}"
More information about the Openembedded-commits
mailing list