From e2a4327477f9f40fd116ab5012e2121fb626c405 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 22 Mar 2019 11:14:51 -0400 Subject: [PATCH] build: Bump minimum glib2 version to 2.56 That's the latest available in (f28, el8). Prep for using some new APIs without tripping compiler warnings. Closes: #1796 Approved by: cgwalters --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 6aa485f8..b1c28b67 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,7 @@ AM_CPPFLAGS += -DDATADIR='"$(datadir)"' \ -DSYSCONFDIR='"$(sysconfdir)"' \ -DRPM_OSTREE_FEATURES='"$(RPM_OSTREE_FEATURES)"' \ -DRPM_OSTREE_GITREV='"$(RPM_OSTREE_GITREV)"' \ - -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_50 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_50 + -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 # Keep this in sync with the AM_CFLAGS in libostree; see # that project for more information about e.g. -fno-strict-aliasing AM_CFLAGS += -std=gnu11 -fno-strict-aliasing $(WARN_CFLAGS)