On Wed, Jun 2, 2010 at 10:34 PM, Khem Raj <[email protected]> wrote: > * Needed on -O1 compile. Generally we use -Os where > this option is already enabled. But we enable is anyway > so it gets picked at -O1 too which we use with DEBUG builds. > > Signed-off-by: Khem Raj <[email protected]>
Acked-by: Martin Jansa <[email protected]> > --- > recipes/ncurses/ncurses.inc | 11 ++++++----- > recipes/ncurses/ncurses_5.4.bb | 2 +- > 2 files changed, 7 insertions(+), 6 deletions(-) > > diff --git a/recipes/ncurses/ncurses.inc b/recipes/ncurses/ncurses.inc > index bfecfff..337d670 100644 > --- a/recipes/ncurses/ncurses.inc > +++ b/recipes/ncurses/ncurses.inc > @@ -30,6 +30,12 @@ export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include > ${BUILD_CFLAGS}" > export BUILD_LDFLAGS = "" > export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"' > > +# Below option is added to overcome the GCC bug on ARM > +# see http://gcc.gnu.org/PR42981 for further details. > +# We could potentially take it off when its fixed in gcc 4.5 > + > +CFLAGS_append_arm = " -fforward-propagate " > + > # This is necessary so that the "tic" command executed during the install can > # link with the correct libary in staging. > export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}" > @@ -70,16 +76,12 @@ do_install() { > mv ${D}${bindir}/reset ${D}${bindir}/reset.${PN} > fi > } > - > - > pkg_postinst_ncurses-tools () { > if [ "${PN}" = "ncurses" ]; then > update-alternatives --install ${bindir}/clear clear > clear.${PN} 100 > update-alternatives --install ${bindir}/reset reset > reset.${PN} 100 > fi > } > - > - > pkg_prerm_ncurses-tools () { > if [ "${PN}" = "ncurses" ]; then > update-alternatives --remove clear clear.${PN} > @@ -110,7 +112,6 @@ FILES_${PN}-tools = "\ > FILES_${PN}-terminfo = "\ > ${datadir}/terminfo \ > " > - > RSUGGESTS_${PN} = "ncurses-terminfo" > RPROVIDES_${PN} = "libncurses5" > RCONFLICTS_${PN} = "libncurses5" > diff --git a/recipes/ncurses/ncurses_5.4.bb b/recipes/ncurses/ncurses_5.4.bb > index a6aed6d..8c0f62c 100644 > --- a/recipes/ncurses/ncurses_5.4.bb > +++ b/recipes/ncurses/ncurses_5.4.bb > @@ -1,4 +1,4 @@ > -PR = "r19" > +PR = "r20" > > SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \ > file://makefile_tweak.patch \ > -- > 1.7.0.4 > > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
