]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/tools_def CLANG38: add -Wno-unused-const-variable
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 7 Dec 2017 08:49:47 +0000 (08:49 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 8 Dec 2017 15:02:44 +0000 (15:02 +0000)
commit1a21d339cdd9d1b86a172f312544fa93ca64db48
tree7943e1a864d55209397f9dd0b5dcb9916bda0712
parentf2a3131fbec58632943c2b24635e6b746dcfa421
BaseTools/tools_def CLANG38: add -Wno-unused-const-variable

Commit 8b6366f87584 ("BaseTools/GCC: set -Wno-unused-const-variable
on RELEASE builds") suppresses warnings about unused constant
variables in RELEASE builds when building with GCC, given that they
break the build under our warnings-as-errors policy.

Do the same for CLANG38.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=790
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Shi Steven <steven.shi@intel.com>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template