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
This commit is contained in:
Colin Walters 2016-03-30 16:45:15 -04:00 committed by Colin Walters (automation)
parent 484c74ae04
commit 7e55b484e3

View File

@ -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