libatasmart: fix build, this should fix #1448, this should fix #1449

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-11-07 23:49:32 +01:00
parent 66629d2858
commit 7ca6d6f50b

View File

@ -22,9 +22,10 @@
. config/options $1
export CC_FOR_BUILD="$HOST_CC"
export BUILD_CFLAGS="$HOST_CFLAGS"
export BUILD_LDFLAGS="$HOST_LDFLAGS"
# comment out, seems to be broken in 0.19 - todo:
# export CC_FOR_BUILD="$HOST_CC"
# export BUILD_CFLAGS="$HOST_CFLAGS"
# export BUILD_LDFLAGS="$HOST_LDFLAGS"
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
@ -36,5 +37,8 @@ cd $PKG_BUILD
--disable-static \
--enable-shared \
# building hosttools seems to be broken in 0.19 - todo:
make CFLAGS="$HOST_CFLAGS" LDFLAGS="$HOST_LDFLAGS" CC="$HOST_CC" -C strpool
make
$MAKEINSTALL