@@ -38,7 +38,6 @@ base_libdir:class-native = "${libdir}"
# Display corruption occurs on 64 bit hosts without these settings
# This was derrived from the upstream debian ncurses which uses
# these settings for 32 and 64 bit hosts.
-EXCONFIG_ARGS = ""
EXCONFIG_ARGS:class-native = " \
--disable-lp64 \
--with-chtype='long' \
@@ -47,6 +46,8 @@ EXCONFIG_ARGS:class-nativesdk = " \
--disable-lp64 \
--with-chtype='long' \
--with-mmask-t='long'"
+# Assume target system has little memory but native has enough
+EXCONFIG_ARGS = "--disable-big-core"
PACKAGES_DYNAMIC = "^${PN}-lib.*"
@@ -80,7 +81,6 @@ ncurses_configure() {
--with-termpath='${sysconfdir}/termcap:${datadir}/misc/termcap${EX_TERMCAP}' \
--with-terminfo-dirs='${sysconfdir}/terminfo:${datadir}/terminfo${EX_TERMINFO}' \
--with-shared \
- --disable-big-core \
--program-prefix= \
--with-ticlib \
--with-termlib=${EX_TERMLIB} \
Building some terminal emulators(foot, for example) may require tic to be built with enabled big core. It's highly likely that tic will be used as native or in SDK, so we can lift memory restriction. Signed-off-by: Alibek Omarov <a1ba.omarov@gmail.com> --- meta/recipes-core/ncurses/ncurses.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)