changeset 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 fc8a1a5de78e
children a023da4ffc15
files make/linux/makefiles/gcc.make
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
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