diff --git a/README.md b/README.md index bbe22a46..23a81a56 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/meson.build b/meson.build index ab488832..297b0699 100644 --- a/meson.build +++ b/meson.build @@ -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' ] )