diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-06 18:20:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-18 17:26:26 +0100 |
commit | 13136e4c2052075a6d5538fb963e675ec4ce1417 (patch) | |
tree | 73b64db0b386a969f2c622ac0921f6dd66acdce6 | |
parent | fd3e09c023bb6f3c59daea5357af841e76f22f70 (diff) | |
download | poky-13136e4c2052075a6d5538fb963e675ec4ce1417.tar.gz |
rpm: pass lrt and lpthread to link step explicitly for uclibc
These need to appear in DT_NEEDED for librpmio.so
for uclibc somehow it does not get added to link
cmdline so we do it explicitly.
(From OE-Core rev: e5d141fff4a96fbdac63586638fb286f263af216)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.9.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index ccf015af3e..8e892a8389 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb | |||
@@ -182,6 +182,8 @@ EXTRA_OECONF += "--verbose \ | |||
182 | 182 | ||
183 | CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY -DRPM_VENDOR_OE" | 183 | CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY -DRPM_VENDOR_OE" |
184 | 184 | ||
185 | LDFLAGS_append_libc-uclibc = "-lrt -lpthread" | ||
186 | |||
185 | PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${PN}-staticdev ${PN}-common ${PN}-build python-rpm-dbg python-rpm-staticdev python-rpm perl-module-rpm perl-module-rpm-dev ${PN}-locale" | 187 | PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${PN}-staticdev ${PN}-common ${PN}-build python-rpm-dbg python-rpm-staticdev python-rpm perl-module-rpm perl-module-rpm-dev ${PN}-locale" |
186 | 188 | ||
187 | SOLIBS = "5.4.so" | 189 | SOLIBS = "5.4.so" |