aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-02-06 16:32:23 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-02-06 16:32:23 +0100
commit23cb6e01448f86d1b5e81c3baccd54064c9b0028 (patch)
tree657cefd5e6ebf520674145a4d367f4f11d225cb6 /xen/Rules.mk
parent250005a558eae0fc3d08c0bbb188e5063489d5c9 (diff)
downloadxen-23cb6e01448f86d1b5e81c3baccd54064c9b0028.tar.gz
xen-23cb6e01448f86d1b5e81c3baccd54064c9b0028.tar.bz2
xen-23cb6e01448f86d1b5e81c3baccd54064c9b0028.zip
Clean up -g in CFLAGS.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index a0daaaca8f..25478ec434 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -1,3 +1,4 @@
+
#
# If you change any of these configuration options then you must
# 'make clean' before rebuilding.
@@ -44,20 +45,19 @@ ALL_OBJS += $(BASEDIR)/arch/$(TARGET_ARCH)/arch.o
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)