switch to c_std gnu99

since this is what glib uses
This commit is contained in:
John Cupitt 2022-02-09 09:31:13 +00:00
parent 626f9eaabd
commit 68e65bdc0f
2 changed files with 4 additions and 2 deletions

View File

@ -88,7 +88,8 @@ configuration.
- Add flags like `-Dnsgif=false` to turn options on and off, see
`meson_options.txt` for a list of all the build options libvips supports.
- Add `--buildtype=release` for a release (optimised) build.
- Meson will do a debug build by default. Add `--buildtype=release` for a
release (optimised) build.
- You might need to add `--libdir=lib` on Debian if you don't want the arch
name in the library path.
- Add `--default-library=static` for a static build.

View File

@ -2,7 +2,8 @@ project('vips', 'c', 'cpp',
version: '8.13.0',
meson_version: '>=0.56',
default_options: [
'c_std=c99'
# this is what glib uses (one of our required deps), so we use it too
'c_std=gnu99'
]
)