meson: Reorder cflags for sd-boot
authorJan Janssen <medhefgo@web.de>
Thu, 16 Jun 2022 19:53:30 +0000 (21:53 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Jun 2022 03:57:41 +0000 (12:57 +0900)
commit01d81c126b1383d8ab858f43395b304e178feed1
tree226e01e7b9b9007f6f79f117e1a50bc5ad4888d5
parentba7abf79a5a2df2a93332fc32e8e3c268c74abc7
meson: Reorder cflags for sd-boot

Currently, -Wall and -Wextra override previously passed flags like
-Wno-unused-parameter. This reorders them to be passed before any
optional flags. -Wsign-compare is part of -Wextra and therefore dropped.
-nostdlib is a link-stage flag and dropped as it is already part of
efi_ldflags.
src/boot/efi/meson.build