diff options
author | Liming Gao <liming.gao@intel.com> | 2016-12-16 13:07:10 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-12-20 11:18:47 +0800 |
commit | 4fa9134e47bfb3b7cd9348c8d44fdb029830018b (patch) | |
tree | b37dd6ceb1b30024cd4cf5973d5592e678fae5c8 | |
parent | 00de920a0339e78824cdb9015f66c5a98644e0b6 (diff) | |
download | edk2-platforms-4fa9134e47bfb3b7cd9348c8d44fdb029830018b.tar.xz |
BaseTools GCC makefile: disable unused-result warning for CPP file
This warning has been disabled for C file. To be same, it is also disabled
for CPP file.
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
-rw-r--r-- | BaseTools/Source/C/Makefiles/header.makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/C/Makefiles/header.makefile b/BaseTools/Source/C/Makefiles/header.makefile index 821d114e78..063982b82f 100644 --- a/BaseTools/Source/C/Makefiles/header.makefile +++ b/BaseTools/Source/C/Makefiles/header.makefile @@ -52,7 +52,7 @@ else BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-unused-result -nostdlib -c -g
endif
BUILD_LFLAGS =
-BUILD_CXXFLAGS =
+BUILD_CXXFLAGS = -Wno-unused-result
ifeq ($(ARCH), IA32)
#
|