Fix Xcode compilation that broke because of warning maybe-uninitialized.

This commit is contained in:
jief666 2024-01-10 13:20:25 +01:00
parent c349ee79d8
commit 5b8b2df376
1 changed files with 2 additions and 1 deletions

View File

@ -307,10 +307,11 @@
###################################################################################################
[Components]
# Jief : I've added -Wno-maybe-uninitialized. Doesn't the OC team use that warning? I prefer NOT want to change OC because it makes it harder to re-sync
!ifdef MSFT
DEFINE OC_INCLUDE_FLAG = /FI OpenCoreFromClover.h
!else
DEFINE OC_INCLUDE_FLAG = -include OpenCoreFromClover.h
DEFINE OC_INCLUDE_FLAG = -include OpenCoreFromClover.h -Wno-maybe-uninitialized
!endif
# OpenCorePkg/Application/OpenCore/OpenCoreLib.inf {