NOOPT is build target. It includes the compiler option to disable optimization. If the platform supports NOOPT target, it can be built with -b NOOPT.
PcdOptimizeCompilerEnable is one feature PCD defined in edk2-platforms. It can be used to control the compiler option in [BuildOptions] section. It can also be
used for DEBUG or RELEASE target.
Thanks
Liming
Hi, All:
I have a question about NOOPT and PcdOptimizeCompilerEnable.
If Target = NOOPT, then will disable all optimizations.
And PcdOptimizeCompilerEnable has the same function.
So, What’s the relationship between PcdOptimizeCompilerEnable and NOOPT?
Thanks
Best wishes,
保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole
use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.