mirror of https://github.com/PCSX2/pcsx2.git
build: Get rid of the no-trans flag, and the freetype related function.
This commit is contained in:
parent
108a0d0ce6
commit
00d06db90e
11
build.sh
11
build.sh
|
@ -18,12 +18,6 @@
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
# Function declarations
|
# Function declarations
|
||||||
find_freetype()
|
|
||||||
{
|
|
||||||
if [ "$(uname -m)" = "x86_64" ] && [ -e "/usr/include/x86_64-linux-gnu/freetype2/ft2build.h" ]; then
|
|
||||||
export GTKMM_BASEPATH=/usr/include/x86_64-linux-gnu/freetype2
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
set_make()
|
set_make()
|
||||||
{
|
{
|
||||||
|
@ -155,7 +149,6 @@ for ARG in "$@"; do
|
||||||
--pgo-optimize ) flags="$flags -DUSE_PGO_OPTIMIZE=TRUE" ;;
|
--pgo-optimize ) flags="$flags -DUSE_PGO_OPTIMIZE=TRUE" ;;
|
||||||
--pgo-generate ) flags="$flags -DUSE_PGO_GENERATE=TRUE" ;;
|
--pgo-generate ) flags="$flags -DUSE_PGO_GENERATE=TRUE" ;;
|
||||||
--no-simd ) flags="$flags -DDISABLE_ADVANCE_SIMD=TRUE" ;;
|
--no-simd ) flags="$flags -DDISABLE_ADVANCE_SIMD=TRUE" ;;
|
||||||
--no-trans ) flags="$flags -DNO_TRANSLATION=TRUE" ;;
|
|
||||||
--vtune ) flags="$flags -DUSE_VTUNE=TRUE" ;;
|
--vtune ) flags="$flags -DUSE_VTUNE=TRUE" ;;
|
||||||
-D* ) flags="$flags $ARG" ;;
|
-D* ) flags="$flags $ARG" ;;
|
||||||
|
|
||||||
|
@ -172,7 +165,6 @@ for ARG in "$@"; do
|
||||||
echo "--no-simd : Only allow sse2."
|
echo "--no-simd : Only allow sse2."
|
||||||
echo
|
echo
|
||||||
echo "** Expert Developer option **"
|
echo "** Expert Developer option **"
|
||||||
echo "--no-trans : Don't regenerate mo files when building."
|
|
||||||
echo "--strip : Strip binaries to save a small amount of space."
|
echo "--strip : Strip binaries to save a small amount of space."
|
||||||
echo "--clang : Build with Clang/llvm."
|
echo "--clang : Build with Clang/llvm."
|
||||||
echo "--use-system : Only use system libs."
|
echo "--use-system : Only use system libs."
|
||||||
|
@ -200,9 +192,6 @@ if [ "$cleanBuild" -eq 1 ]; then
|
||||||
rm -fr "$build"/*
|
rm -fr "$build"/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Workaround for Debian. Cmake failed to find freetype include path
|
|
||||||
find_freetype
|
|
||||||
|
|
||||||
echo "Building pcsx2 with $flags" | tee "$log"
|
echo "Building pcsx2 with $flags" | tee "$log"
|
||||||
|
|
||||||
# Resolve the symlink otherwise cmake is lost
|
# Resolve the symlink otherwise cmake is lost
|
||||||
|
|
Loading…
Reference in New Issue