[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] -DNDEBUG for hypervisor only



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1200423044 0
# Node ID 04d3ca600f74492b6c34235746c749285f6c9fe3
# Parent  b953c358d0adc75f77cfa1991b5fc15da2b5b0a2
-DNDEBUG for hypervisor only
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Config.mk    |    4 +---
 xen/Rules.mk |    2 ++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r b953c358d0ad -r 04d3ca600f74 Config.mk
--- a/Config.mk Tue Jan 15 18:48:32 2008 +0000
+++ b/Config.mk Tue Jan 15 18:50:44 2008 +0000
@@ -57,9 +57,7 @@ define cc-ver-check-closure
     endif
 endef
 
-ifneq ($(debug),y)
-CFLAGS += -DNDEBUG
-else
+ifeq ($(debug),y)
 CFLAGS += -g
 endif
 
diff -r b953c358d0ad -r 04d3ca600f74 xen/Rules.mk
--- a/xen/Rules.mk      Tue Jan 15 18:48:32 2008 +0000
+++ b/xen/Rules.mk      Tue Jan 15 18:50:44 2008 +0000
@@ -17,6 +17,8 @@ ifeq ($(debug),y)
 ifeq ($(debug),y)
 verbose       := y
 frame_pointer := y
+else
+CFLAGS += -DNDEBUG
 endif
 ifeq ($(perfc_arrays),y)
 perfc := y

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.