--- a/hotspot/make/linux/makefiles/gcc.make Mon Jun 24 11:53:54 2013 -0700
+++ b/hotspot/make/linux/makefiles/gcc.make Mon Jun 24 18:23:45 2013 -0700
@@ -350,9 +350,9 @@
ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
ifeq ($(USE_CLANG), true)
# Clang doesn't understand -gstabs
- OPT_CFLAGS += -g
+ DEBUG_CFLAGS += -g
else
- OPT_CFLAGS += -gstabs
+ DEBUG_CFLAGS += -gstabs
endif
endif
@@ -365,9 +365,9 @@
ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),)
ifeq ($(USE_CLANG), true)
# Clang doesn't understand -gstabs
- OPT_CFLAGS += -g
+ FASTDEBUG_CFLAGS += -g
else
- OPT_CFLAGS += -gstabs
+ FASTDEBUG_CFLAGS += -gstabs
endif
endif