[icinga-checkins] icinga.org: icinga-core/next: if --enable-debug, use -Wall CFLAGS too

git at icinga.org git at icinga.org
Sat Jul 27 21:00:14 CEST 2013


Module: icinga-core
Branch: next
Commit: 905e386c61d3516c7f9a94f12c35811c2d2fc8ff
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=905e386c61d3516c7f9a94f12c35811c2d2fc8ff

Author: Michael Friedrich <Michael.Friedrich at netways.de>
Date:   Sat Jul 27 20:58:24 2013 +0200

if --enable-debug, use -Wall CFLAGS too

refs #4387

---

 base/Makefile.in                |    2 +-
 cgi/Makefile.in                 |    2 +-
 common/Makefile.in              |    2 +-
 module/idoutils/Makefile.in     |    2 +-
 module/idoutils/src/Makefile.in |    2 +-
 t-tap/Makefile.in               |    2 +-
 t/Makefile.in                   |    2 +-
 xdata/Makefile.in               |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/base/Makefile.in b/base/Makefile.in
index f756e86..78b4dfc 100644
--- a/base/Makefile.in
+++ b/base/Makefile.in
@@ -19,7 +19,7 @@ ENABLE_DEBUG=@ENABLE_DEBUG@
 
 # Compiler flags for use with Valgrind - set when debug is enabled
 ifeq ('$(ENABLE_DEBUG)', 'yes')
-	CFLAGS=-O0 -g -DHAVE_CONFIG_H -DNSCORE
+	CFLAGS=-O0 -g -Wall -DHAVE_CONFIG_H -DNSCORE
 endif
 
 # Compiler flags for use with gprof
diff --git a/cgi/Makefile.in b/cgi/Makefile.in
index 1ba603f..e5f6297 100644
--- a/cgi/Makefile.in
+++ b/cgi/Makefile.in
@@ -37,7 +37,7 @@ ENABLE_DEBUG=@ENABLE_DEBUG@
 
 # Compiler flags for use with Valgrind - set when debug is enabled
 ifeq ('$(ENABLE_DEBUG)', 'yes')
-        CFLAGS=-O0 -g -DHAVE_CONFIG_H -DNSCGI
+        CFLAGS=-O0 -g -Wall -DHAVE_CONFIG_H -DNSCGI
 endif
 
 # for profiling
diff --git a/common/Makefile.in b/common/Makefile.in
index c8b85a9..7a84461 100644
--- a/common/Makefile.in
+++ b/common/Makefile.in
@@ -31,7 +31,7 @@ ENABLE_DEBUG=@ENABLE_DEBUG@
 
 # Compiler flags for use with Valgrind - set when debug is enabled
 ifeq ('$(ENABLE_DEBUG)', 'yes')
-        CFLAGS=-O0 -g -DHAVE_CONFIG_H -DNSCORE
+        CFLAGS=-O0 -g -Wall -DHAVE_CONFIG_H -DNSCORE
 endif
 
 
diff --git a/module/idoutils/Makefile.in b/module/idoutils/Makefile.in
index 6c7e93f..7026fd5 100644
--- a/module/idoutils/Makefile.in
+++ b/module/idoutils/Makefile.in
@@ -27,7 +27,7 @@ ENABLE_DEBUG=@ENABLE_DEBUG@
 
 # Compiler flags for use with Valgrind - set when debug is enabled
 ifeq ('$(ENABLE_DEBUG)', 'yes')
-        CFLAGS=-O0 -g
+        CFLAGS=-O0 -g -Wall
 endif
 
 all:
diff --git a/module/idoutils/src/Makefile.in b/module/idoutils/src/Makefile.in
index 7b19bd5..1d75d23 100644
--- a/module/idoutils/src/Makefile.in
+++ b/module/idoutils/src/Makefile.in
@@ -29,7 +29,7 @@ ENABLE_DEBUG=@ENABLE_DEBUG@
 
 # Compiler flags for use with Valgrind - set when debug is enabled
 ifeq ('$(ENABLE_DEBUG)', 'yes')
-        CFLAGS=-O0 -g -DHAVE_CONFIG_H
+        CFLAGS=-O0 -g -Wall -DHAVE_CONFIG_H
 endif
 
 # We don't like ANSI because ANSI doesn't like us! phhht!
diff --git a/t-tap/Makefile.in b/t-tap/Makefile.in
index a9e7537..bcdfb9b 100644
--- a/t-tap/Makefile.in
+++ b/t-tap/Makefile.in
@@ -93,7 +93,7 @@ ENABLE_DEBUG=@ENABLE_DEBUG@
 
 # Compiler flags for use with Valgrind - set when debug is enabled
 ifeq ('$(ENABLE_DEBUG)', 'yes')
-        CFLAGS=-O0 -g -DNSCORE -I../include -I../tools/libtap
+        CFLAGS=-O0 -g -Wall -DNSCORE -I../include -I../tools/libtap
 endif
 
 
diff --git a/t/Makefile.in b/t/Makefile.in
index 99f2561..15b06ea 100644
--- a/t/Makefile.in
+++ b/t/Makefile.in
@@ -11,7 +11,7 @@ ENABLE_DEBUG=@ENABLE_DEBUG@
 
 # Compiler flags for use with Valgrind - set when debug is enabled
 ifeq ('$(ENABLE_DEBUG)', 'yes')
-        CFLAGS=-O0 -g
+        CFLAGS=-O0 -g -Wall
 endif
 
 all:
diff --git a/xdata/Makefile.in b/xdata/Makefile.in
index e6c27bc..79fe542 100644
--- a/xdata/Makefile.in
+++ b/xdata/Makefile.in
@@ -9,7 +9,7 @@ ENABLE_DEBUG=@ENABLE_DEBUG@
 
 # Compiler flags for use with Valgrind - set when debug is enabled
 ifeq ('$(ENABLE_DEBUG)', 'yes')
-        CFLAGS=-O0 -g -DHAVE_CONFIG_H -DNSCORE
+        CFLAGS=-O0 -g -Wall -DHAVE_CONFIG_H -DNSCORE
 endif
 
 clean:





More information about the icinga-checkins mailing list