Date
1 - 1 of 1
回复: Non-reproducible binaries generated by GenFw
gaoliming
RELEASE_*_*_GENFW_FLAGS = -z means this option is applied on RELEASE build.
*_*_*_GANFW_FLAGS = -z can apply this option to all target builds.
When you build, you can build -j build.log. Then, build log will dump into build.log file. You can search GenFw command in build.log and check whether GenFw has -e option.
Thanks
Liming
toggle quoted message
Show quoted text
*_*_*_GANFW_FLAGS = -z can apply this option to all target builds.
When you build, you can build -j build.log. Then, build log will dump into build.log file. You can search GenFw command in build.log and check whether GenFw has -e option.
Thanks
Liming
-----邮件原件-----
发件人: Ross Burton <ross@...>
发送时间: 2021年3月12日 0:16
收件人: gaoliming <gaoliming@...>
抄送: discuss@edk2.groups.io; bob.c.feng@...; yuwei.chen@...
主题: Re: Non-reproducible binaries generated by GenFw
On Thu, 11 Mar 2021 at 04:44, gaoliming <gaoliming@...> wrote:generated image be reproduced.
Ross:
I verify -z option. It can remove DEBUG entry and make sure theI tried adding that to ShellPkg.dsc but I can't seem to make the value
PlatformPkg.dsc:
[BuildOptions]
RELEASE_*_*_GENFW_FLAGS = -z
actually get into the build. Is there anything else I need to do
apart from:
+++ b/ShellPkg/ShellPkg.dsc
@@ -154,3 +154,4 @@
[BuildOptions]
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
+ RELEASE_*_*_GENFW_FLAGS = -z
Thanks,
Ross