mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 00:32:13 +02: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
|
||||
inherit native
|
||||
EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
|
||||
DEPENDS = ""
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
require ncurses_${PV}.bb
|
||||
inherit nativesdk
|
||||
EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
|
||||
|
||||
@@ -32,7 +32,9 @@ EXTRA_OECONF = "--with-shared \
|
||||
--enable-termcap \
|
||||
--without-cxx-binding \
|
||||
--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_LDFLAGS = ""
|
||||
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 \
|
||||
file://makefile_tweak.patch;patch=1 \
|
||||
|
||||
Reference in New Issue
Block a user