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
This commit is contained in:
Gustavo Sverzut Barbieri 2012-12-30 18:28:26 +00:00
parent 1f423eb8e7
commit 64fa645e80
1 changed files with 1 additions and 19 deletions

View File

@ -425,6 +425,7 @@ AC_CHECK_TYPES([siginfo_t], [], [],
AC_C_BIGENDIAN
AC_C_INLINE
EFL_CHECK_COMPILER_FLAGS([EFL], [-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers])
EFL_CHECK_LINKER_FLAGS([EFL], [-fno-strict-aliasing -Wl,--as-needed])
case "${build_profile}" in
dev)
EFL_CHECK_COMPILER_FLAGS([EFL], [-Wshadow])
@ -807,17 +808,8 @@ AC_DEFINE_IF([HAVE_DIRENT_H], [test "x${have_dirent}" = "xyes"],
### Checks for compiler characteristics
m4_ifdef([v_ver],
[
EFL_CHECK_COMPILER_FLAGS([EINA], [-Wall -Wextra])
])
EFL_CHECK_COMPILER_FLAGS([EINA], [-Wshadow -Wpointer-arith])
### Checks for linker characteristics
EFL_CHECK_LINKER_FLAGS([EINA], [-fno-strict-aliasing])
### Checks for library functions
EFL_CHECK_FUNCS([EINA], [dlopen dladdr iconv shm_open setxattr])
@ -893,14 +885,6 @@ EFL_EVAL_PKGS([EET])
### Checks for linker characteristics
case "${host_os}" in
openbsd*)
;;
*)
EFL_CHECK_LINKER_FLAGS([EET], [-Wl,--as-needed])
;;
esac
### Checks for library functions
### Check availability
@ -2007,8 +1991,6 @@ AM_CONDITIONAL([HAVE_IPV6], [test "x${have_ipv6}" = "xyes"])
### Checks for compiler characteristics
EFL_CHECK_COMPILER_FLAGS([ECORE_CON], [-Wno-override-init -Wno-initializer-overrides])
### Checks for linker characteristics
### Checks for library functions