Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: bb1376254803bfdaa012c62f1cf6d6b26161cfe7
https://github.com/tianocore/edk2/commit/bb1376254803bfdaa012c62f1cf6d6b26161cfe7
Author: Pierre Gondois <[email protected]>
Date: 2023-01-30 (Mon, 30 Jan 2023)
Changed paths:
M BaseTools/Conf/tools_def.template
Log Message:
-----------
tools_def: Remove duplicated -Os
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2928
commit 17bd834eb5fd ("BaseTools: Factorize GCC flags")
makes GCC48_ALL_CC_FLAGS inherit from GCC_ALL_CC_FLAGS.
GCC_ALL_CC_FLAGS contains the '-Os' flag.
The latest flag in a command line overrides the previous
optimization option. This allows more specific build
configuration to override the inherited '-Os' flag.
If a build configuration includes GCC48_ALL_CC_FLAGS,
hard-coded '-Os' options are not necessary anymore.
Remove them.
Reported-by: Laszlo Ersek <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Bob Feng <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits