mirror_edk2/BaseTools/Source/C/VfrCompile
Laszlo Ersek b8a6617026 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>
2018-08-16 20:18:49 +02:00
..
Pccts BaseTools: silence parentheses-equality warning 2018-01-02 20:37:32 +08:00
EfiVfr.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GNUmakefile BaseTools/Source/C: split "-O2" to BUILD_OPTFLAGS 2018-08-16 20:18:49 +02:00
Makefile Sync EDKII BaseTools to BaseTools project r2100. 2010-12-06 05:17:09 +00:00
VfrCompiler.cpp BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
VfrCompiler.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
VfrError.cpp BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
VfrError.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
VfrFormPkg.cpp BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
VfrFormPkg.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
VfrSyntax.g BaseTools/VfrCompile: Avoid using uninitialized pointer 2018-05-09 16:30:36 +08:00
VfrUtilityLib.cpp BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
VfrUtilityLib.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00