mirror of https://github.com/acidanthera/audk.git
Fix build issues with Xcode in CryptoPkg and SecurityPkg.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish <afish@apple.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Long Qin <qin.long@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15561 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7bf3ce9ff9
commit
9a70350fff
|
@ -246,7 +246,7 @@ GetAccessControl (
|
|||
CheckLen = 0;
|
||||
while (CheckLen < Info->InfoSize - sizeof (EFI_USER_INFO)) {
|
||||
Access = (EFI_USER_INFO_ACCESS_CONTROL *) ((UINT8 *) (Info + 1) + CheckLen);
|
||||
if ((Access->Type == AccessType)) {
|
||||
if (Access->Type == AccessType) {
|
||||
*AccessControl = AllocateZeroPool (Access->Size);
|
||||
ASSERT (*AccessControl != NULL);
|
||||
CopyMem (*AccessControl, Access, Access->Size);
|
||||
|
|
|
@ -75,3 +75,6 @@
|
|||
|
||||
[Depex]
|
||||
TRUE
|
||||
|
||||
[BuildOptions]
|
||||
XCODE:*_*_*_CC_FLAGS = -mmmx -msse
|
||||
|
|
Loading…
Reference in New Issue