mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
tvheadend: -mno-unaligned-access fails on x86
This commit is contained in:
parent
3ecbf910cc
commit
6009676903
@ -37,7 +37,9 @@ pre_build_target() {
|
|||||||
cp -RP $PKG_BUILD/* $PKG_BUILD/.$TARGET_NAME
|
cp -RP $PKG_BUILD/* $PKG_BUILD/.$TARGET_NAME
|
||||||
export CROSS_COMPILE=$TARGET_PREFIX
|
export CROSS_COMPILE=$TARGET_PREFIX
|
||||||
# meh imx6..
|
# meh imx6..
|
||||||
export CFLAGS="$CFLAGS -mno-unaligned-access"
|
if [ "$TARGET_ARCH" == "arm" ] ; then
|
||||||
|
export CFLAGS="$CFLAGS -mno-unaligned-access"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_target() {
|
configure_target() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user