From 358117ace50767bfeba7afeb1874d537d4963501 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Wed, 8 Jan 2014 16:16:37 +0900 Subject: [PATCH] update makefile --- src/Makefile.am | 2 +- src/Makefile.in | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index bda7c4d4..a9382d45 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -AM_CFLAGS = -g -O2 -Wall -Wno-deprecated -Werror -fno-strict-aliasing +AM_CFLAGS = -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing AM_CFLAGS += -I$(top_builddir)/libev AM_CFLAGS += -I$(top_builddir)/libasyncns diff --git a/src/Makefile.in b/src/Makefile.in index 6062cb31..b09433ee 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -248,8 +248,9 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -AM_CFLAGS = -g -O2 -Wall -Wno-deprecated -Werror -fno-strict-aliasing \ - -I$(top_builddir)/libev -I$(top_builddir)/libasyncns +AM_CFLAGS = -g -O2 -Wall -Werror -Wno-deprecated-declarations \ + -fno-strict-aliasing -I$(top_builddir)/libev \ + -I$(top_builddir)/libasyncns AM_LDFLAGS = -static SS_COMMON_LIBS = $(top_builddir)/libev/libev.la $(INET_NTOP_LIB) ss_local_SOURCES = utils.c jconf.c json.c encrypt.c udprelay.c cache.c \