hotspot/make/linux/makefiles/gcc.make
changeset 2873 96526fe40c0e
parent 2784 f159507e4db1
parent 2734 a15982b3cd69
child 4013 b154310845de
--- a/hotspot/make/linux/makefiles/gcc.make	Wed May 13 00:45:22 2009 -0700
+++ b/hotspot/make/linux/makefiles/gcc.make	Fri May 15 18:14:44 2009 -0700
@@ -171,3 +171,9 @@
 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
 DEBUG_CFLAGS += -gstabs
 endif
+
+# DEBUG_BINARIES overrides everything, use full -g debug information
+ifeq ($(DEBUG_BINARIES), true)
+  DEBUG_CFLAGS = -g
+  CFLAGS += $(DEBUG_CFLAGS)
+endif