]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/tools_def CLANG3x: ignore unknown warning options
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 19 Jan 2018 16:19:30 +0000 (16:19 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 22 Jan 2018 11:17:04 +0000 (11:17 +0000)
commitfaf0475b1376bde30c6c5d7fa6f02dfe22801f27
treec5c6579475a7eea282adf1f4bf7e5585971eb7ce
parent6250a1206ea77308f13276e1407427e00de02983
BaseTools/tools_def CLANG3x: ignore unknown warning options

Ironically, disabling warnings in the OpensslLib library build is
causing breakage when using the CLANG35 toolchain to build for ARM:

error: unknown warning option '-Werror=maybe-uninitialized'; did you mean '-Werror=uninitialized'? [-Werror,-Wunknown-warning-option]

So let's add -Wno-unknown-warning-option to the list of warnings to
ignore when using Clang 3.5, and move the same option from the x86
specific list to the shared list for Clang 3.8.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template