mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
Mesa-master:
- hardcode build of libGLU
This commit is contained in:
parent
00151f0ca7
commit
f5c168542e
@ -14,12 +14,6 @@ $SCRIPTS/build libX11
|
|||||||
|
|
||||||
get_graphicdrivers
|
get_graphicdrivers
|
||||||
|
|
||||||
if [ "$MESA_GLU" = yes ]; then
|
|
||||||
MESA_CONFIG="$MESA_CONFIG --enable-glu"
|
|
||||||
else
|
|
||||||
MESA_CONFIG="$MESA_CONFIG --disable-glu"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
HOST_CC=$HOST_CC \
|
HOST_CC=$HOST_CC \
|
||||||
OPT_FLAGS="$CFLAGS -D_GNU_SOURCE" \
|
OPT_FLAGS="$CFLAGS -D_GNU_SOURCE" \
|
||||||
@ -40,6 +34,7 @@ DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
|||||||
--disable-glx-tls \
|
--disable-glx-tls \
|
||||||
--enable-driglx-direct \
|
--enable-driglx-direct \
|
||||||
--disable-egl \
|
--disable-egl \
|
||||||
|
--enable-glu \
|
||||||
--disable-gl-osmesa \
|
--disable-gl-osmesa \
|
||||||
--disable-glut \
|
--disable-glut \
|
||||||
--disable-glw \
|
--disable-glw \
|
||||||
@ -51,14 +46,10 @@ DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
|||||||
--with-x \
|
--with-x \
|
||||||
--without-demos \
|
--without-demos \
|
||||||
--enable-gallium \
|
--enable-gallium \
|
||||||
$MESA_CONFIG \
|
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
make -C progs/xdemos
|
make -C progs/xdemos
|
||||||
|
|
||||||
$MAKEINSTALL -C src/mesa
|
$MAKEINSTALL -C src/mesa
|
||||||
|
$MAKEINSTALL -C src/glu
|
||||||
if [ "$MESA_GLU" = "yes" ]; then
|
|
||||||
$MAKEINSTALL -C src/glu
|
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user