Mailing List Archive

Clean up -g in CFLAGS.
# HG changeset patch
# User kaf24@firebug.cl.cam.ac.uk
# Node ID 2687e3fc5dd45eca23c24ff391f2c37c00c3fa5f
# Parent 1bc2d1fe503c331157bac60e6534e78693fbc1d4
Clean up -g in CFLAGS.



Signed-off-by: Keir Fraser <keir@xensource.com>

diff -r 1bc2d1fe503c -r 2687e3fc5dd4 xen/Rules.mk
--- a/xen/Rules.mk Mon Feb 6 15:26:29 2006
+++ b/xen/Rules.mk Mon Feb 6 15:32:23 2006
@@ -1,3 +1,4 @@
+
#
# If you change any of these configuration options then you must
# 'make clean' before rebuilding.
@@ -44,20 +45,19 @@

include $(BASEDIR)/arch/$(TARGET_ARCH)/Rules.mk

+CFLAGS += -g
+
ifneq ($(debug),y)
CFLAGS += -DNDEBUG
ifeq ($(verbose),y)
CFLAGS += -DVERBOSE
endif
else
-CFLAGS += -g -DVERBOSE
+CFLAGS += -DVERBOSE
endif

-# There is no real reason to compile without it
-CFLAGS += -g
-
ifeq ($(crash_debug),y)
-CFLAGS += -g -DCRASH_DEBUG
+CFLAGS += -DCRASH_DEBUG
endif

ifeq ($(perfc),y)

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