summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-30 18:28:26 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-30 18:28:26 +0000
commit64fa645e8025300270059808bcab9f618135875a (patch)
tree568d89b78fe6a5ae8d7fc860c0288e76b24331d1 /configure.ac
parent1f423eb8e743fbaf0d3e014616daaa356b413f1d (diff)
efl: uniform compiler flags.
note: dns.c were already emitting warnings regarding shadow, so I removed the flag to quiet override-init. It will a bit louder, but then we remember it would be better to rewrite this dns in proper EFL. SVN revision: 81905
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 1 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac
index 3804877b97..b80a6bfd5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -425,6 +425,7 @@ AC_CHECK_TYPES([siginfo_t], [], [],
425AC_C_BIGENDIAN 425AC_C_BIGENDIAN
426AC_C_INLINE 426AC_C_INLINE
427EFL_CHECK_COMPILER_FLAGS([EFL], [-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers]) 427EFL_CHECK_COMPILER_FLAGS([EFL], [-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers])
428EFL_CHECK_LINKER_FLAGS([EFL], [-fno-strict-aliasing -Wl,--as-needed])
428case "${build_profile}" in 429case "${build_profile}" in
429 dev) 430 dev)
430 EFL_CHECK_COMPILER_FLAGS([EFL], [-Wshadow]) 431 EFL_CHECK_COMPILER_FLAGS([EFL], [-Wshadow])
@@ -807,17 +808,8 @@ AC_DEFINE_IF([HAVE_DIRENT_H], [test "x${have_dirent}" = "xyes"],
807 808
808### Checks for compiler characteristics 809### Checks for compiler characteristics
809 810
810m4_ifdef([v_ver],
811 [
812 EFL_CHECK_COMPILER_FLAGS([EINA], [-Wall -Wextra])
813 ])
814
815EFL_CHECK_COMPILER_FLAGS([EINA], [-Wshadow -Wpointer-arith])
816
817### Checks for linker characteristics 811### Checks for linker characteristics
818 812
819EFL_CHECK_LINKER_FLAGS([EINA], [-fno-strict-aliasing])
820
821### Checks for library functions 813### Checks for library functions
822 814
823EFL_CHECK_FUNCS([EINA], [dlopen dladdr iconv shm_open setxattr]) 815EFL_CHECK_FUNCS([EINA], [dlopen dladdr iconv shm_open setxattr])
@@ -893,14 +885,6 @@ EFL_EVAL_PKGS([EET])
893 885
894### Checks for linker characteristics 886### Checks for linker characteristics
895 887
896case "${host_os}" in
897 openbsd*)
898 ;;
899 *)
900 EFL_CHECK_LINKER_FLAGS([EET], [-Wl,--as-needed])
901 ;;
902esac
903
904### Checks for library functions 888### Checks for library functions
905 889
906### Check availability 890### Check availability
@@ -2007,8 +1991,6 @@ AM_CONDITIONAL([HAVE_IPV6], [test "x${have_ipv6}" = "xyes"])
2007 1991
2008### Checks for compiler characteristics 1992### Checks for compiler characteristics
2009 1993
2010EFL_CHECK_COMPILER_FLAGS([ECORE_CON], [-Wno-override-init -Wno-initializer-overrides])
2011
2012### Checks for linker characteristics 1994### Checks for linker characteristics
2013 1995
2014### Checks for library functions 1996### Checks for library functions