ncurses: disable big core only for target
PATCH 1/1 ncurses: disable big core only for target
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 <[email protected]>
--- meta/recipes-core/ncurses/ncurses.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/ncurses/ncurses.inc +2 -2
@@ -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} \
Signature · 1 line
2.25.1