mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
ncurses: Fix up BUILD_LDFLAGS variable corrupting builds
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
require ncurses_${PV}.bb
|
require ncurses_${PV}.bb
|
||||||
inherit native
|
inherit native
|
||||||
EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
|
|
||||||
DEPENDS = ""
|
DEPENDS = ""
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
require ncurses_${PV}.bb
|
require ncurses_${PV}.bb
|
||||||
inherit nativesdk
|
inherit nativesdk
|
||||||
EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@ EXTRA_OECONF = "--with-shared \
|
|||||||
--enable-termcap \
|
--enable-termcap \
|
||||||
--without-cxx-binding \
|
--without-cxx-binding \
|
||||||
--with-terminfo-dirs=${sysconfdir}/terminfo:${datadir}/terminfo \
|
--with-terminfo-dirs=${sysconfdir}/terminfo:${datadir}/terminfo \
|
||||||
--enable-overwrite"
|
--enable-overwrite \
|
||||||
|
--with-build-ldflags='' \
|
||||||
|
--with-build-ccflags='' "
|
||||||
export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}"
|
export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}"
|
||||||
export BUILD_LDFLAGS = ""
|
export BUILD_LDFLAGS = ""
|
||||||
export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
|
export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PR = "r11"
|
PR = "r14"
|
||||||
|
|
||||||
SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
|
SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
|
||||||
file://makefile_tweak.patch;patch=1 \
|
file://makefile_tweak.patch;patch=1 \
|
||||||
|
|||||||
Reference in New Issue
Block a user