wmii: fix cross compilation

This commit is contained in:
newbluemoon 2017-11-07 09:26:32 +01:00 committed by Enno Boland
parent 0fce94b168
commit 680ef2d4b9

View File

@ -1,7 +1,7 @@
# Template file for 'wmii'
pkgname=wmii
version=3.9.2
revision=4
revision=5
wrksrc=${pkgname}+ixp-${version}
hostmakedepends="pkg-config"
makedepends="libXrandr-devel libXft-devel libXinerama-devel"
@ -12,8 +12,6 @@ homepage="https://code.google.com/p/wmii/"
distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wmii/wmii+ixp-${version}.tbz"
checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/12036/steps/shell_3/logs/stdio"
do_build() {
LDFLAGS+=" -lX11 -lXrender"
make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr