l@edk2.groups.io <mailto:devel@edk2.groups.io>; Gao, Liming
> mailto:liming@intel.com>>
> Cc: tiger...@zhaoxin.com <mailto:tiger...@zhaoxin.com>
> Subject: Re: [edk2-devel] [edk2] NOOPT and PcdOptimizeCompilerEnable
>
> Liming,
>
> For gcc/clang if you
: tiger...@zhaoxin.com
Subject: Re: [edk2-devel] [edk2] NOOPT and PcdOptimizeCompilerEnable
Liming,
For gcc/clang if you repeat an argument the last argument wins. This is the
default behavior and it does not warn, as it is designed to work with features
like PcdOptimizeCompilerEnable.
If VC++ warns
t;
> [mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>] On Behalf Of
> Tiger Liu(BJ-RD)
> Sent: Thursday, October 31, 2019 9:40 AM
> To: devel@edk2.groups.io <mailto:devel@edk2.groups.io>; Gao, Liming
> mailto:liming....@intel.com>>
> Subject: Re: [edk2-deve
anks
发件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
mailto:devel@edk2.groups.io>> 代表 Liming Gao
发送时间: 2019年10月30日 23:00
收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Tiger Liu(BJ-RD)
mailto:tiger...@zhaoxin.com>>
主题: Re: [edk2-devel] [edk2] NOOPT and PcdO
019年10月30日 23:00
收件人: devel@edk2.groups.io; Tiger Liu(BJ-RD)
主题: Re: [edk2-devel] [edk2] NOOPT and PcdOptimizeCompilerEnable
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.
PcdOptimizeCompilerEnabl
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. I