]> 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)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 23 Feb 2024 17:15:13 +0000 (18:15 +0100)
commit1eeabbb42649f8334b6330689fec54325591fe2f
treea3028fdfc02f0db2252b386a34bb4a5a7f53b2d9
parent7ca98ca6aab919f271a15e40276cbb411e62f0e4
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>
meson.build