rpi-userland: disable as-needed via LDFLAGS.
This commit is contained in:
parent
dcdaa283b7
commit
f11ecc7df4
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ _gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi-userland
|
pkgname=rpi-userland
|
||||||
version=20151128
|
version=20151128
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="userland-${_githash}"
|
wrksrc="userland-${_githash}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake"
|
||||||
|
@ -15,7 +15,8 @@ homepage="https://github.com/raspberrypi/userland"
|
||||||
distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
|
||||||
checksum=f3738952ba63b3ad4ec391594cb7378b7e762903d16f1f1ec93f1ad4644bc8a3
|
checksum=f3738952ba63b3ad4ec391594cb7378b7e762903d16f1f1ec93f1ad4644bc8a3
|
||||||
|
|
||||||
broken_as_needed=yes
|
LDFLAGS="-Wl,--no-as-needed"
|
||||||
|
|
||||||
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
||||||
|
|
||||||
shlib_provides="
|
shlib_provides="
|
||||||
|
@ -44,7 +45,6 @@ post_install() {
|
||||||
|
|
||||||
vmkdir etc/ld.so.conf.d
|
vmkdir etc/ld.so.conf.d
|
||||||
echo "/opt/vc/lib" > ${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
echo "/opt/vc/lib" > ${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rpi-userland-devel_package() {
|
rpi-userland-devel_package() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue