8017538: Clang support broke slowdebug build for i586

Mon, 24 Jun 2013 17:47:25 -0700

author
twisti
date
Mon, 24 Jun 2013 17:47:25 -0700
changeset 5315
cc63bcb47cce
parent 5298
fc8a1a5de78e
child 5316
a023da4ffc15

8017538: Clang support broke slowdebug build for i586
Reviewed-by: kvn

make/linux/makefiles/gcc.make file | annotate | diff | comparison | revisions
     1.1 --- a/make/linux/makefiles/gcc.make	Fri Jun 21 00:59:12 2013 -0700
     1.2 +++ b/make/linux/makefiles/gcc.make	Mon Jun 24 17:47:25 2013 -0700
     1.3 @@ -350,9 +350,9 @@
     1.4    ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
     1.5        ifeq ($(USE_CLANG), true)
     1.6          # Clang doesn't understand -gstabs
     1.7 -        OPT_CFLAGS += -g
     1.8 +        DEBUG_CFLAGS += -g
     1.9        else
    1.10 -        OPT_CFLAGS += -gstabs
    1.11 +        DEBUG_CFLAGS += -gstabs
    1.12        endif
    1.13    endif
    1.14    
    1.15 @@ -365,9 +365,9 @@
    1.16      ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),)
    1.17        ifeq ($(USE_CLANG), true)
    1.18          # Clang doesn't understand -gstabs
    1.19 -        OPT_CFLAGS += -g
    1.20 +        FASTDEBUG_CFLAGS += -g
    1.21        else
    1.22 -        OPT_CFLAGS += -gstabs
    1.23 +        FASTDEBUG_CFLAGS += -gstabs
    1.24        endif
    1.25      endif
    1.26    

mercurial