From 00d06db90ee7d48e921d546e0a55f7bf8a721dde Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sat, 24 Dec 2022 04:07:33 -0800 Subject: [PATCH] build: Get rid of the no-trans flag, and the freetype related function. --- build.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/build.sh b/build.sh index b82b3ac46c..7f90f15469 100755 --- a/build.sh +++ b/build.sh @@ -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