temp/arm-trusted-firmware: fix build on gcc 12 (MR 3681)

Apply the same fix as in Alpine:
769f9666b6

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Oliver Smith 2022-11-30 09:33:01 +01:00
parent 9d98a872ed
commit 3802b2cd40
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -4,7 +4,7 @@
pkgname=arm-trusted-firmware
pkgver=9999
_pkgver=2.7.0
pkgrel=7
pkgrel=8
pkgdesc="ARM Trusted Firmware-A (TF-A)"
url="https://github.com/ARM-software/arm-trusted-firmware"
arch="aarch64"
@ -33,7 +33,7 @@ build() {
esac
msg "Building ATF for $plat (opts='$opts')"
make PLAT=$plat bl31 $opts
LDFLAGS="$LDFLAGS -no-warn-rwx-segment" make E=0 PLAT=$plat bl31 $opts
done
}