summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2020-07-07 16:35:22 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-21 01:34:47 +0000
commit17bd834eb5fd97699fbbcd146c7788df9e42030c (patch)
tree3dddfd9d20b5b0fbda8e36d9b1868e8426befb33 /BaseTools/Source/Python
parentdbd546a32d5abe225306e22d43a7d86e3a042eee (diff)
downloadedk2-17bd834eb5fd97699fbbcd146c7788df9e42030c.tar.gz
edk2-17bd834eb5fd97699fbbcd146c7788df9e42030c.tar.bz2
edk2-17bd834eb5fd97699fbbcd146c7788df9e42030c.zip
BaseTools: Factorize GCC flags
GCC48_ALL_CC_FLAGS has no dependency on GCC_ALL_CC_FLAGS. By definition, there should be such dependency. The outcomes of this patch is that GCC48_ALL_CC_FLAGS and other dependent configurations will inherit from the additional "-Os" flag. The "-Os" flag optimizes a build in size, not breaking any build. In a gcc command line, the last optimization flag has precedence. This means that this "-Os" flag will be overriden by a more specific optimization configuration, provided that this more specific flag is appended at the end of the CC_FLAGS. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Suggested-by: Tomas Pilar <Tomas.Pilar@arm.com> Reviewed-by: Bob Feng<bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions