Andrew, The second one overrides first one by current behavior. We will discuss the expected behavior. For workaround, following statement should work:
XCODE:*_*_*_CC_FLAGS = -D ALPHA -D BETA Thanks, Dennis -----Original Message----- From: Andrew Fish [mailto:af...@apple.com] Sent: Saturday, May 23, 2015 3:26 To: edk2-devel@lists.sourceforge.net Subject: [edk2] [BaseTools] Bug in DSC file parsing. I did not see anything in the DSC spec that stated you could only have one version of each form of wildcard expansion? I put this in the DSC and I only get BETA and DELTA in the CC_FLAGS, and that seems like a bug? [BuildOptions] XCODE:*_*_*_CC_FLAGS = -D ALPHA XCODE:*_*_*_CC_FLAGS = -D BETA XCODE:*_*_IA32_CC_FLAGS = -D GAMMA XCODE:*_*_IA32_CC_FLAGS = -D DELTA >build -p MdePkg/MdePkg.dsc -a IA32 -t XCODE5 -y build.log CC_FLAGS = -arch i386 -c -g -Os -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno- builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused- parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -ftrap- function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) -D BETA -D DELTA Thanks, Andrew Fish ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel