tvheadend: -mno-unaligned-access fails on x86

This commit is contained in:
Stefan Saraev 2014-12-03 20:11:48 +02:00 committed by Stephan Raue
parent 3ecbf910cc
commit 6009676903

View File

@ -37,7 +37,9 @@ pre_build_target() {
cp -RP $PKG_BUILD/* $PKG_BUILD/.$TARGET_NAME
export CROSS_COMPILE=$TARGET_PREFIX
# meh imx6..
export CFLAGS="$CFLAGS -mno-unaligned-access"
if [ "$TARGET_ARCH" == "arm" ] ; then
export CFLAGS="$CFLAGS -mno-unaligned-access"
fi
}
configure_target() {