diff --git a/packages/graphics/Mesa-master/build b/packages/graphics/Mesa-master/build index 07c1d36914..b500e30541 100755 --- a/packages/graphics/Mesa-master/build +++ b/packages/graphics/Mesa-master/build @@ -48,7 +48,12 @@ DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \ --without-demos \ --disable-gallium \ -make +make -C src/glsl CC=$HOST_CC CFLAGS="" +mv src/glsl/apps/compile ./host_compile + +make clean + +make GLSL_CL="\$(TOP)/host_compile" make -C progs/xdemos