Skip to content

device/main/u-boot-librem5: fix build on gcc 12

Oliver Smith requested to merge fix-uboot-librem5 into master

Disable Werror and add -no-warn-rwx-segment to LDFLAGS of arm-trusted-firmware to make it build with gcc 12, smilar to: https://gitlab.alpinelinux.org/alpine/aports/-/commit/769f9666b663ba06dca63ddbff6eb1af458355f3

Related: https://builds.sr.ht/~postmarketos/job/894728#task-pmbootstrap_build-422

Merge request reports