I noticed the GCC49 (and GCC48) AARCH64 and ARM DEBUG builds use -O0, unlike IA32 and X64 platforms which build with -Os.

e.g. from https://github.com/tianocore/edk2/blob/master/BaseTools/Conf/tools_def.template :

DEBUG_GCC49_AARCH64_CC_FLAGS     = DEF(GCC49_AARCH64_CC_FLAGS) -O0

Is that deliberate, or should it be like X64 where DEBUG builds are optimized and NOOPT is used when unoptimized binaries are needed?

--
Rebecca Cran


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73964): https://edk2.groups.io/g/devel/message/73964
Mute This Topic: https://groups.io/mt/82040511/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to