9 if test "$TARGET_ARCH" != "i386" -a "$TARGET_ARCH" != "i486" -a "$TARGET_ARCH" != "i686" -a "$TARGET_ARCH" != "x86_64" -a "$TARGET_ARCH" != "x86" ; then
10 echo "Error! Uknown arch $TARGET_ARCH, supported: [i386|i486|i686|x86|x86_64]"
15 if test "$TARGET_ARCH" = "x86_64" ; then
17 TARGETLIB_SIZE="--enable-64-bit"
20 TARGETLIB_SIZE="--enable-32-bit"
26 ./configure CPPFLAGS="-D_GNU_SOURCE=1" CFLAGS="-U_FORTIFY_SOURCE -fno-stack-protector" CXXFLAGS="-U_FORTIFY_SOURCE -fno-stack-protector" $TARGETLIB_SIZE --enable-shared --disable-glu --enable-opengl --enable-osmesa --disable-gles1 --disable-gles2 --disable-gallium-egl --disable-gallium-gbm --disable-gallium-g3dvl --disable-gallium-llvm --disable-egl --disable-openvg --without-gallium-drivers --disable-dri --disable-glx --disable-gbm --disable-xvmc --disable-vdpau --disable-va --prefix="`pwd`/../lib/$TARGET_OS/$TARGET_DIR" --includedir="`pwd`/../include" --libdir="\${prefix}" && \
32 echo "OpenGL acceleration is not currently supported for $TARGET_OS"