use new compiler flag macro to disable tons of warnings

thx vtorri!


SVN revision: 71858
This commit is contained in:
Mike Blumenkrantz 2012-06-08 18:53:39 +00:00
parent 8ff6bd01fd
commit 079c2aa1d3
2 changed files with 7 additions and 1 deletions

View File

@ -1526,6 +1526,10 @@ if test "x${have_ecore_con}" = "xyes" ; then
fi
if test "x${have_cares}" != "xyes" -a "x${have_ipv6}" = "xyes" ; then
EFL_CHECK_COMPILER_FLAGS([ECORE_CON], [-Wno-override-init -Wno-initializer-overrides])
fi
AM_CONDITIONAL([HAVE_CARES], [test "x${have_cares}" = "xyes"])
# ecore_ipc

View File

@ -25,6 +25,8 @@ ecore_con_ssl.c \
ecore_con_url.c \
ecore_con_alloc.c
libecore_con_la_CFLAGS = @WIN32_CFLAGS@
if ECORE_HAVE_WIN32
libecore_con_la_SOURCES += ecore_con_local_win32.c
else
@ -35,13 +37,13 @@ if HAVE_CARES
libecore_con_la_SOURCES += ecore_con_ares.c
else
if HAVE_IPV6
libecore_con_la_CFLAGS += @ECORE_CON_CFLAGS@
libecore_con_la_SOURCES += ecore_con_dns.c dns.c dns.h
else
libecore_con_la_SOURCES += ecore_con_info.c
endif
endif
libecore_con_la_CFLAGS = @WIN32_CFLAGS@
libecore_con_la_LIBADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
@SSL_LIBS@ @CURL_LIBS@ @EINA_LIBS@ @EVIL_LIBS@ @TLS_LIBS@ @CARES_LIBS@ @WIN32_LIBS@