crossgcc:Initialize OPT_LDFLAGS to avoid unset variable in IASL build

Change-Id: Ibdad41baee8bb245112160be237f1081fbfc89c8
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88233
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Elyes Haouas 2025-06-28 11:28:49 +02:00
commit 07a8737cbd

View file

@ -897,6 +897,7 @@ build_IASL() {
RDIR=$PWD
cd ../$IASL_DIR/generate/unix || exit 1
CFLAGS="$HOSTCFLAGS"
OPT_LDFLAGS=""
HOST="_LINUX"
test "$UNAME" = "Darwin" && HOST="_APPLE" && OPT_LDFLAGS="-Wl,-no_fixup_chains"
test "$UNAME" = "FreeBSD" && HOST="_FreeBSD"