1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:47:44 +00:00

Documentation: Reorganize the build documentation

This commit is contained in:
Gunnar Beutner 2021-07-10 00:53:28 +02:00 committed by Gunnar Beutner
parent 9780cdfb33
commit 9026dbbfd6
13 changed files with 419 additions and 389 deletions

View file

@ -120,7 +120,8 @@ pick_gcc() {
if ! $GCC_CANDIDATE -dumpversion >/dev/null 2>&1; then
continue
fi
local VERSION="$($GCC_CANDIDATE -dumpversion)"
local VERSION=""
VERSION="$($GCC_CANDIDATE -dumpversion)"
local MAJOR_VERSION="${VERSION%%.*}"
if [ "$MAJOR_VERSION" -gt "$BEST_VERSION" ]; then
BEST_VERSION=$MAJOR_VERSION