src/boot/efi/meson.build: if meson --werror is true, set gcc -Werror
This part of the build does not use the normal meson parameters, so we need to explicitly check for the meson --werror parameter, and if it's true, set the gcc -Werror parameter for this subdir's build.
This commit is contained in:
parent
4287d0832c
commit
4d6c1fce0e
|
@ -135,6 +135,9 @@ if have_gnu_efi
|
|||
compile_args += ['-mno-sse',
|
||||
'-mno-mmx']
|
||||
endif
|
||||
if get_option('werror') == true
|
||||
compile_args += ['-Werror']
|
||||
endif
|
||||
|
||||
efi_ldflags = ['-T',
|
||||
join_paths(efi_ldsdir, arch_lds),
|
||||
|
|
Loading…
Reference in a new issue