From: Michael Kinney Date: Tue, 16 May 2017 18:41:08 +0000 (-0700) Subject: BaseTools: Add -D NO_MSABI_VARGS to X64 XCODE5 CC_FLAGS X-Git-Tag: edk2-stable201903~4010 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=bdaced0bcf9a15817fbab4e7b98200cf6628b7a5;hp=bdaced0bcf9a15817fbab4e7b98200cf6628b7a5 BaseTools: Add -D NO_MSABI_VARGS to X64 XCODE5 CC_FLAGS https://bugzilla.tianocore.org/show_bug.cgi?id=561 Update BaseTools/Conf/tools_def.template to add the define -D NO_MSABI_VAARGS To CC_FLAGS for X64 XCODE5 builds. The llvm/clang compiler used in XCODE5 builds supports the _ms_ versions of the vararg builtins, but the compiler generates build errors. The recommendation from the XCODE5 experts is to never use the _ms_ version of the vararg builtins. The define NO_MSABI_VARARGS is already supported in MdePkg/Include/Base.h and forces the use the standard vararg builtins. Cc: Andrew Fish Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael D Kinney Reviewed-by: Andrew Fish ---