summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2018-07-25 22:59:57 +0200
committerLaszlo Ersek <lersek@redhat.com>2018-08-16 20:18:49 +0200
commitb8a66170264395edeaa61e6d22930a58e576a685 (patch)
tree2a00ece98023e17cd33eae874ad1d3def02fcdc9 /BaseTools/Source/Python/Workspace/WorkspaceDatabase.py
parent03252ae287c4a61983b3793ff71baeabe2ff3df7 (diff)
downloadedk2-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