diff options
Diffstat (limited to 'meta/recipes-core/ncurses/ncurses.inc')
-rw-r--r-- | meta/recipes-core/ncurses/ncurses.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 367f3b19f4..761b6a3d31 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc | |||
@@ -27,10 +27,8 @@ EXTRASITECONFIG = "CFLAGS='${CFLAGS} -I${SYSROOT_DESTDIR}${includedir}'" | |||
27 | # TODO: remove this variable when widec is supported in every setup? | 27 | # TODO: remove this variable when widec is supported in every setup? |
28 | ENABLE_WIDEC ?= "true" | 28 | ENABLE_WIDEC ?= "true" |
29 | 29 | ||
30 | # _GNU_SOURCE is required for widec stuff and is detected automatically | 30 | # _GNU_SOURCE is required for widec stuff and is not detected automatically |
31 | # for target objects. But it must be set manually for native and sdk | 31 | CPPFLAGS += "-D_GNU_SOURCE" |
32 | # builds. | ||
33 | BUILD_CPPFLAGS += "-D_GNU_SOURCE" | ||
34 | 32 | ||
35 | # natives don't generally look in base_libdir | 33 | # natives don't generally look in base_libdir |
36 | base_libdir:class-native = "${libdir}" | 34 | base_libdir:class-native = "${libdir}" |