summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses/ncurses_6.2.bb
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2020-12-15 08:32:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-09 09:17:16 +0000
commitf6afbc7d9ebdd39c435c30682da156e3202375c7 (patch)
treedc4170fa4a0a28de6875cde8fa64782ca1cb65e5 /meta/recipes-core/ncurses/ncurses_6.2.bb
parentd88212ed2cec570fdc8011bb05d9d3f61f63e4d7 (diff)
downloadpoky-f6afbc7d9ebdd39c435c30682da156e3202375c7.tar.gz
ncurses: Prevent LDFLAGS being emitted in .pc files
By default ncurses includes the values of LDFLAGS in its output pkgconfig .pc files. This causes issues because OE includes options that are specific to either the build host, or build configuration. These options are not expected to be embedded in the pkgconfig output that is installed. Specifically this change resolves issues with uninative, where uninative includes '-Wl,--dynamic-linker=' in LDFLAGS in order to force the building and execution of native binaries against the dynamic linker provided by uninative. This path is specific to TMPDIR at the time of build, such that the installed files (and the associated sstate) have this path. This prevents the sstate from being portable across build directories/hosts. (From OE-Core rev: 7b84c9ea009b5452a21233483516de5e070fbe82) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ef960d14bd9cecb9a3b50994636fbd455f06104a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ncurses/ncurses_6.2.bb')
-rw-r--r--meta/recipes-core/ncurses/ncurses_6.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/ncurses/ncurses_6.2.bb b/meta/recipes-core/ncurses/ncurses_6.2.bb
index 5c02db8541..76f0cf97f4 100644
--- a/meta/recipes-core/ncurses/ncurses_6.2.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.2.bb
@@ -2,6 +2,7 @@ require ncurses.inc
2 2
3SRC_URI += "file://0001-tic-hang.patch \ 3SRC_URI += "file://0001-tic-hang.patch \
4 file://0002-configure-reproducible.patch \ 4 file://0002-configure-reproducible.patch \
5 file://0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch \
5 " 6 "
6# commit id corresponds to the revision in package version 7# commit id corresponds to the revision in package version
7SRCREV = "a669013cd5e9d6434e5301348ea51baf306c93c4" 8SRCREV = "a669013cd5e9d6434e5301348ea51baf306c93c4"