fix auto-enabling of compiler warnings on non-release builds

Desktop / Enlightenment / Enlightenment - Mike Blumenkrantz [osg.samsung.com] - 19 December 2016 10:59 EST



###

diff --git a/configure.ac b/configure.ac
index df69b29..bb30fed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1032,12 +1032,12 @@ AC_SUBST([MOUNT])
AC_SUBST([UMOUNT])
AC_SUBST([EJECT])

-m4_ifndef([v_rel],
+m4_ifdef([v_rev],
[
- EFL_COMPILER_FLAG([-Wshadow])
EFL_COMPILER_FLAG([-Wall])
- EFL_COMPILER_FLAG([-Wpointer-arith])
EFL_COMPILER_FLAG([-W])
+ EFL_COMPILER_FLAG([-Wpointer-arith])
+ EFL_COMPILER_FLAG([-Wshadow])
EFL_COMPILER_FLAG([-Wno-missing-field-initializers])
EFL_COMPILER_FLAG([-Wfloat-equal])
EFL_COMPILER_FLAG([-Wuninitialized])

6769296 fix auto-enabling of compiler warnings on non-release builds
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Upstream: git.enlightenment.org


  • Share