mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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) (From OE-Core rev: 8492e143af25bf64d07fc117e7f1607aadf89f09) 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>
This commit is contained in:
committed by
Richard Purdie
parent
1b492dfcdd
commit
cfc5952b11
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user