WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] -DNDEBUG for hypervisor only
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Jan 2008 13:20:08 -0800
Delivery-date: Wed, 16 Jan 2008 13:20:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] -DNDEBUG for hypervisor only, Xen patchbot-unstable <=