ncurses: Fix up BUILD_LDFLAGS variable corrupting builds
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
3831d44240
commit
cd93271a66
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue