From 68e4e7923a76eea569cb05c60a1b5a3344f42a22 Mon Sep 17 00:00:00 2001 From: tuftedocelot Date: Wed, 22 Dec 2021 18:42:33 -0600 Subject: [PATCH] Meta: Add egcc as a GCC candidate egcc is the alias for the GCC compiler (since OpenBSD uses Clang by default). Toolchain/BuildIt.sh has the necessary adjustments, but the compiler check occurs before BuildIt.sh is called. --- Meta/serenity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/serenity.sh b/Meta/serenity.sh index c4b07c2fa9..0ad44a878a 100755 --- a/Meta/serenity.sh +++ b/Meta/serenity.sh @@ -144,7 +144,7 @@ create_build_dir() { pick_gcc() { local BEST_VERSION=0 local BEST_GCC_CANDIDATE="" - for GCC_CANDIDATE in gcc gcc-10 gcc-11 gcc-12 /usr/local/bin/gcc-11 /opt/homebrew/bin/gcc-11; do + for GCC_CANDIDATE in egcc gcc gcc-10 gcc-11 gcc-12 /usr/local/bin/gcc-11 /opt/homebrew/bin/gcc-11; do if ! command -v $GCC_CANDIDATE >/dev/null 2>&1; then continue fi