lockdev: fix cross build.

This commit is contained in:
Juan RP 2013-05-26 11:03:20 +02:00
parent f3a560cce1
commit d1155f870e

View file

@ -13,8 +13,8 @@ long_desc="
_both_ FSSTND and SVr4 methods."
do_build() {
make ${make_build_args} shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
make ${make_build_args} static CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
make CC=$CC shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
make CC=$CC static CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
}
do_install() {