diff make/linux/makefiles/gcc.make @ 4880:cc63bcb47cce

8017538: Clang support broke slowdebug build for i586 Reviewed-by: kvn
author twisti
date Mon, 24 Jun 2013 17:47:25 -0700
parents ef57c43512d6
children badf4244ceae faf0c78e906b
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make	Fri Jun 21 00:59:12 2013 -0700
+++ b/make/linux/makefiles/gcc.make	Mon Jun 24 17:47:25 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