From: Eric Haszlakiewicz Date: Mon, 4 Mar 2013 04:26:28 +0000 (-0600) Subject: Issue #68: use -std=gnu99 because some versions of gcc seem to think that -std=c99... X-Git-Tag: json-c-0.11-20130402~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1aa29b655a26f3bc49d7b67a9fa983bffb1cca52;p=thirdparty%2Fjson-c.git Issue #68: use -std=gnu99 because some versions of gcc seem to think that -std=c99 also implies -ansi, which causes warnings and build breakage. --- diff --git a/Makefile.am.inc b/Makefile.am.inc index 96a791ae..fd68a25f 100644 --- a/Makefile.am.inc +++ b/Makefile.am.inc @@ -1,2 +1,2 @@ -AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=c99 -D_GNU_SOURCE -D_REENTRANT +AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT