mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: fix C*FLAGS for using with latest bcm2835 drivers, this should fix #1483
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
be4f2099aa
commit
cd03909c97
@ -176,8 +176,10 @@ if [ "$OPENMAX_SUPPORT" = yes ]; then
|
||||
if [ "$OPENMAX" = "bcm2835-driver" ]; then
|
||||
XBMC_PLATFORM_SUPPORT="--with-platform=raspberry-pi"
|
||||
XBMC_PLAYER="--enable-player=omxplayer"
|
||||
CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads/"
|
||||
CXXFLAGS="$CXXFLAGS -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads/"
|
||||
BCM2835_INCLUDES="-I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads/ \
|
||||
-I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux"
|
||||
CFLAGS="$CFLAGS $BCM2835_INCLUDES"
|
||||
CXXFLAGS="$CXXFLAGS $BCM2835_INCLUDES"
|
||||
fi
|
||||
else
|
||||
XBMC_OPENMAX="--disable-openmax"
|
||||
|
Loading…
x
Reference in New Issue
Block a user