From 7e55b484e326226622bc23844060d4f3c9298903 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 30 Mar 2016 16:45:15 -0400 Subject: [PATCH] build: Use gnu99 by default It's actually very nice to be able to declare loop variables inside the initializer. Closes: #254 Approved by: jlebon --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 1a2bce0d..e1ceb86b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,7 +29,7 @@ AM_CPPFLAGS += -DDATADIR='"$(datadir)"' \ -DLOCALEDIR=\"$(datadir)/locale\" \ -DRPM_OSTREE_FEATURES='"$(RPM_OSTREE_FEATURES)"' \ -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40_ -AM_CFLAGS += $(WARN_CFLAGS) +AM_CFLAGS += -std=gnu99 $(WARN_CFLAGS) EXTRA_DIST += autogen.sh COPYING