lockdev: cross build support.

This commit is contained in:
Juan RP 2013-03-25 15:08:42 +01:00
parent b191b6e9ab
commit 3deb1e1a77
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ long_desc="
_both_ FSSTND and SVr4 methods."
do_build() {
make shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
make 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() {