mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
rpi-userland: get rid of -Werror... too many warnings.
This commit is contained in:
parent
c4e2a711cf
commit
444274e427
1 changed files with 5 additions and 3 deletions
|
@ -16,9 +16,6 @@ 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=601ad724e536272a43a02ae8217bd21cbd3e9a17ca1adc70b1d28fcb50864d44
|
checksum=601ad724e536272a43a02ae8217bd21cbd3e9a17ca1adc70b1d28fcb50864d44
|
||||||
|
|
||||||
broken="too many compiler warnings and -Werror turned on"
|
|
||||||
|
|
||||||
CFLAGS="-Wno-error"
|
|
||||||
LDFLAGS="-Wl,--no-as-needed"
|
LDFLAGS="-Wl,--no-as-needed"
|
||||||
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
||||||
|
|
||||||
|
@ -40,6 +37,11 @@ shlib_provides="
|
||||||
libGLESv2.so
|
libGLESv2.so
|
||||||
libEGL.so"
|
libEGL.so"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
for f in $(find ${wrksrc} -type f -name CMakeLists.txt); do
|
||||||
|
sed -i 's,-Werror,,g' $f
|
||||||
|
done
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/lib/pkgconfig
|
vmkdir usr/lib/pkgconfig
|
||||||
vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig
|
vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig
|
||||||
|
|
Loading…
Add table
Reference in a new issue