mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
The gnu-efi headers emit some warnings in clang when not compiled with -ffreestanding. This is normally not an issue for has_header_symbol() unless meson is run with CFLAGS="-Werror". Note that this differs from the --werror option, which does not get passed to clang. Work around this by adding some compile args to the has_header_symbol() invocation.