8074010: followup to 8072383

Wed, 04 Mar 2015 01:20:40 -0500

author
dlong
date
Wed, 04 Mar 2015 01:20:40 -0500
changeset 7615
47e6df07ca93
parent 7601
4ebc1b290dbd
child 7616
c159f0c42cda

8074010: followup to 8072383
Summary: move arm and gcc logic from open gcc.make to closed
Reviewed-by: dholmes, kvn

make/linux/makefiles/gcc.make file | annotate | diff | comparison | revisions
     1.1 --- a/make/linux/makefiles/gcc.make	Tue Feb 24 21:17:59 2015 -0500
     1.2 +++ b/make/linux/makefiles/gcc.make	Wed Mar 04 01:20:40 2015 -0500
     1.3 @@ -337,47 +337,41 @@
     1.4    # Note: The Itanium gcc compiler crashes when using -gstabs.
     1.5    DEBUG_CFLAGS/ia64  = -g
     1.6    DEBUG_CFLAGS/amd64 = -g
     1.7 -  DEBUG_CFLAGS/arm   = -g
     1.8 -  DEBUG_CFLAGS/ppc   = -g
     1.9    DEBUG_CFLAGS/ppc64 = -g
    1.10    DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
    1.11    ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
    1.12        ifeq ($(USE_CLANG), true)
    1.13          # Clang doesn't understand -gstabs
    1.14 -        DEBUG_CFLAGS += -g
    1.15 +        DEBUG_CFLAGS/$(BUILDARCH) = -g
    1.16        else
    1.17 -        DEBUG_CFLAGS += -gstabs
    1.18 +        DEBUG_CFLAGS/$(BUILDARCH) = -gstabs
    1.19        endif
    1.20    endif
    1.21    
    1.22    ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
    1.23      FASTDEBUG_CFLAGS/ia64  = -g
    1.24      FASTDEBUG_CFLAGS/amd64 = -g
    1.25 -    FASTDEBUG_CFLAGS/arm   = -g
    1.26 -    FASTDEBUG_CFLAGS/ppc   = -g
    1.27      FASTDEBUG_CFLAGS/ppc64 = -g
    1.28 -    FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
    1.29 +    FASTDEBUG_CFLAGS += $(FASTDEBUG_CFLAGS/$(BUILDARCH))
    1.30      ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),)
    1.31        ifeq ($(USE_CLANG), true)
    1.32          # Clang doesn't understand -gstabs
    1.33 -        FASTDEBUG_CFLAGS += -g
    1.34 +        FASTDEBUG_CFLAGS/$(BUILDARCH) = -g
    1.35        else
    1.36 -        FASTDEBUG_CFLAGS += -gstabs
    1.37 +        FASTDEBUG_CFLAGS/$(BUILDARCH) = -gstabs
    1.38        endif
    1.39      endif
    1.40    
    1.41      OPT_CFLAGS/ia64  = -g
    1.42      OPT_CFLAGS/amd64 = -g
    1.43 -    OPT_CFLAGS/arm   = -g
    1.44 -    OPT_CFLAGS/ppc   = -g
    1.45      OPT_CFLAGS/ppc64 = -g
    1.46      OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH))
    1.47      ifeq ($(OPT_CFLAGS/$(BUILDARCH)),)
    1.48        ifeq ($(USE_CLANG), true)
    1.49          # Clang doesn't understand -gstabs
    1.50 -        OPT_CFLAGS += -g
    1.51 +        OPT_CFLAGS/$(BUILDARCH) = -g
    1.52        else
    1.53 -        OPT_CFLAGS += -gstabs
    1.54 +        OPT_CFLAGS/$(BUILDARCH) = -gstabs
    1.55        endif
    1.56      endif
    1.57    endif

mercurial