From a1ed46a5671bbac78948595d80b39687db26593d Mon Sep 17 00:00:00 2001 From: Max Lv Date: Wed, 8 Jan 2014 17:08:54 +0900 Subject: [PATCH] use gnu99 --- src/Makefile.am | 2 +- src/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 04ac0edf..a4d4bd1f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -AM_CFLAGS = -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=c99 +AM_CFLAGS = -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 AM_CFLAGS += -I$(top_builddir)/libev AM_CFLAGS += -I$(top_builddir)/libasyncns diff --git a/src/Makefile.in b/src/Makefile.in index fe0ba831..1d36fbdc 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -249,7 +249,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CFLAGS = -g -O2 -Wall -Werror -Wno-deprecated-declarations \ - -fno-strict-aliasing -std=c99 -I$(top_builddir)/libev \ + -fno-strict-aliasing -std=gnu99 -I$(top_builddir)/libev \ -I$(top_builddir)/libasyncns AM_LDFLAGS = -static SS_COMMON_LIBS = $(top_builddir)/libev/libev.la $(INET_NTOP_LIB)