ia64/xen-unstable

changeset 16722:04d3ca600f74

-DNDEBUG for hypervisor only
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jan 15 18:50:44 2008 +0000 (2008-01-15)
parents b953c358d0ad
children a407a8a51319
files Config.mk xen/Rules.mk
line diff
     1.1 --- a/Config.mk	Tue Jan 15 18:48:32 2008 +0000
     1.2 +++ b/Config.mk	Tue Jan 15 18:50:44 2008 +0000
     1.3 @@ -57,9 +57,7 @@ define cc-ver-check-closure
     1.4      endif
     1.5  endef
     1.6  
     1.7 -ifneq ($(debug),y)
     1.8 -CFLAGS += -DNDEBUG
     1.9 -else
    1.10 +ifeq ($(debug),y)
    1.11  CFLAGS += -g
    1.12  endif
    1.13  
     2.1 --- a/xen/Rules.mk	Tue Jan 15 18:48:32 2008 +0000
     2.2 +++ b/xen/Rules.mk	Tue Jan 15 18:50:44 2008 +0000
     2.3 @@ -17,6 +17,8 @@ include $(XEN_ROOT)/Config.mk
     2.4  ifeq ($(debug),y)
     2.5  verbose       := y
     2.6  frame_pointer := y
     2.7 +else
     2.8 +CFLAGS += -DNDEBUG
     2.9  endif
    2.10  ifeq ($(perfc_arrays),y)
    2.11  perfc := y