]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: run compiler checks with -D_GNU_SOURCE when necessary
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 23 Feb 2024 07:15:32 +0000 (08:15 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Feb 2024 08:52:29 +0000 (09:52 +0100)
commit7645148907592c0fb98373f07e1c887ebc9b376f
treef56b1efa3b71db9cd3e19af1853b3eb8045efa25
parent511947e5e5a3eefa4055842aa85ebeced1975414
meson: run compiler checks with -D_GNU_SOURCE when necessary

Through the addition of default_options: c_std=c99 some build-time
checks were incorrect. Explicitly add -D_GNU_SOURCE where necessary.

Fixes: 6240e4458cdf ("build: use -std=c99 and -std=c++11 by default")
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit 1eeabbb42649f8334b6330689fec54325591fe2f)
meson.build