keyutils: cross build support.

This commit is contained in:
Juan RP 2014-02-20 14:54:04 +01:00
parent 5a4247ad8d
commit f2994145b2

View file

@ -11,7 +11,7 @@ distfiles="http://people.redhat.com/~dhowells/$pkgname/$pkgname-$version.tar.bz2
checksum=8fab781fb2d1450b2112a7fbfe6629522ae5a6b901f875a74a201012025a3fc5
do_build() {
sed -e "s|/lib64|/lib|g;s|-m64|${CFLAGS}|g" -i Makefile
sed -e "s|/lib64|/lib|g;s|-m64|${CFLAGS}|g;s|-m32||g" -i Makefile
make ${makejobs}
}