tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.52k stars 2.44k forks source link

Adjust LoongArch CC flags and fix some compiler check error. #5890

Closed kilaterlee closed 1 month ago

kilaterlee commented 1 month ago

Description

Patch1: Remove the fno-plt from LoongArch CC flags, because it no used. Patch2: A variable in Fdt16550SerialPortHookLib was not initialized, this has been fixed.

How This Was Tested

Build virt-machine BIOS using OvmfPkg/LoongArchVirt/LoongArchQemu.dsc and run it.

Integration Instructions

<Describe how these changes should be integrated. Use N/A if nothing is required.>