rpi-userland: get rid of -Werror... too many warnings.

This commit is contained in:
Juan RP 2016-03-22 20:03:27 +01:00
parent c4e2a711cf
commit 444274e427
1 changed files with 5 additions and 3 deletions

View File

@ -16,9 +16,6 @@ homepage="https://github.com/raspberrypi/userland"
distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
checksum=601ad724e536272a43a02ae8217bd21cbd3e9a17ca1adc70b1d28fcb50864d44
broken="too many compiler warnings and -Werror turned on"
CFLAGS="-Wno-error"
LDFLAGS="-Wl,--no-as-needed"
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
@ -40,6 +37,11 @@ shlib_provides="
libGLESv2.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() {
vmkdir usr/lib/pkgconfig
vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig