mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-18 09:34:47 +08:00
build: Force GLib version check while building in maintainer mode
This will allow to catch up build errors introduced by using GLib API introduced in newer GLib than minimal required even if building with newer version.
This commit is contained in:
parent
99fcb3fc01
commit
4bf368a098
@ -21,6 +21,8 @@ AC_DEFUN([COMPILER_FLAGS], [
|
||||
with_cflags="$with_cflags -Wredundant-decls"
|
||||
with_cflags="$with_cflags -Wcast-align"
|
||||
with_cflags="$with_cflags -DG_DISABLE_DEPRECATED"
|
||||
with_cflags="$with_cflags -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_28"
|
||||
with_cflags="$with_cflags -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_28"
|
||||
fi
|
||||
AC_SUBST([WARNING_CFLAGS], $with_cflags)
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user