spa: set _GNU_SOURCE

Set CFLAG _GNU_SOURCE in order to suppress warnings about implicit
declaration from strtof_l and strtod_l.
This commit is contained in:
ErikMN 2022-04-01 20:19:43 +02:00 committed by Wim Taymans
parent ecc9bc2524
commit a2e98e28c1

View file

@ -24,7 +24,7 @@ pkgconfig.generate(filebase : 'lib@0@'.format(spa_name),
subdirs : spa_name,
description : 'Simple Plugin API',
version : spaversion,
extra_cflags : '-D_REENTRANT',
extra_cflags : ['-D_REENTRANT', '-D_GNU_SOURCE'],
variables : ['plugindir=${libdir}/@0@'.format(spa_name)],
uninstalled_variables : ['plugindir=${prefix}/spa/plugins'],
)