diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-07-25 22:59:57 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-08-16 20:18:49 +0200 |
commit | b8a66170264395edeaa61e6d22930a58e576a685 (patch) | |
tree | 2a00ece98023e17cd33eae874ad1d3def02fcdc9 /BaseTools/Source/Python/Workspace/WorkspaceDatabase.py | |
parent | 03252ae287c4a61983b3793ff71baeabe2ff3df7 (diff) | |
download | edk2-b8a66170264395edeaa61e6d22930a58e576a685.tar.gz edk2-b8a66170264395edeaa61e6d22930a58e576a685.tar.bz2 edk2-b8a66170264395edeaa61e6d22930a58e576a685.zip |
BaseTools/Source/C: split "-O2" to BUILD_OPTFLAGS
The option "-O2" is not a preprocessor flag, but a code generation
(compilation) flag. Move it from BUILD_CPPFLAGS to BUILD_CFLAGS and
BUILD_CXXFLAGS.
Because "VfrCompile/GNUmakefile" uses "-O2" through BUILD_CPPFLAGS, and
because it doesn't use BUILD_CXXFLAGS, we have to introduce BUILD_OPTFLAGS
separately, so that "VfrCompile/GNUmakefile" can continue using just this
flag.
This patch doesn't change behavior.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1540244
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/WorkspaceDatabase.py')
0 files changed, 0 insertions, 0 deletions