build.sh: add a -no-cross-multilib option

(only for developers)
This commit is contained in:
Gregory Hainaut 2015-01-06 21:54:55 +01:00
parent a0d54df522
commit 14d4b3fe7a
1 changed files with 24 additions and 22 deletions

View File

@ -41,6 +41,7 @@ for ARG in "$@"; do
--gtk3 ) flags+=(-DGTK3_API=TRUE) ;;
--no-simd ) flags+=(-DDISABLE_ADVANCE_SIMD=TRUE) ;;
--cross-multilib ) flags+=(-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake); useCross=1; ;;
--no-cross-multilib ) useCross=0; ;;
-D* ) flags+=($ARG) ;;
*)
@ -52,11 +53,9 @@ for ARG in "$@"; do
echo
echo "--clean : Do a clean build."
echo "--extra : Build all plugins"
echo "--no-simd : Only allow sse2"
echo
echo "** Developer option **"
echo "--clang : Build with Clang/llvm"
echo "--asan : Enable Address sanitizer"
echo
echo "--wx28 : Force wxWidget 2.8"
echo "--glsl : Replace CG backend of ZZogl by GLSL"
echo "--egl : Replace GLX by EGL (ZZogl plugins only)"
@ -64,9 +63,12 @@ for ARG in "$@"; do
echo "--gles : Replace openGL backend of GSdx by openGLES3.1"
echo "--cross-multilib: Build a 32bit PCSX2 on a 64bit machine using multilib."
echo
echo "** Hardcode Developer option **"
echo "--no-simd : Only allow sse2"
echo "** Expert Developer option **"
echo "--gtk3 : replace GTK2 by GTK3"
echo "--no-cross-multilib: Build a native PCSX2"
echo "--clang : Build with Clang/llvm"
echo "--asan : Enable Address sanitizer"
exit 1
esac
done