build: Get rid of the no-trans flag, and the freetype related function.

This commit is contained in:
arcum42 2022-12-24 04:07:33 -08:00
parent 108a0d0ce6
commit 00d06db90e
1 changed files with 0 additions and 11 deletions

View File

@ -18,12 +18,6 @@
set -u
# 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()
{
@ -155,7 +149,6 @@ for ARG in "$@"; do
--pgo-optimize ) flags="$flags -DUSE_PGO_OPTIMIZE=TRUE" ;;
--pgo-generate ) flags="$flags -DUSE_PGO_GENERATE=TRUE" ;;
--no-simd ) flags="$flags -DDISABLE_ADVANCE_SIMD=TRUE" ;;
--no-trans ) flags="$flags -DNO_TRANSLATION=TRUE" ;;
--vtune ) flags="$flags -DUSE_VTUNE=TRUE" ;;
-D* ) flags="$flags $ARG" ;;
@ -172,7 +165,6 @@ for ARG in "$@"; do
echo "--no-simd : Only allow sse2."
echo
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 "--clang : Build with Clang/llvm."
echo "--use-system : Only use system libs."
@ -200,9 +192,6 @@ if [ "$cleanBuild" -eq 1 ]; then
rm -fr "$build"/*
fi
# Workaround for Debian. Cmake failed to find freetype include path
find_freetype
echo "Building pcsx2 with $flags" | tee "$log"
# Resolve the symlink otherwise cmake is lost