make/solaris/makefiles/product.make

changeset 865
4d20a3aaf1ab
parent 631
d1605aabd0a1
child 1902
fb1a39993f69
     1.1 --- a/make/solaris/makefiles/product.make	Wed Nov 12 05:42:59 2008 -0800
     1.2 +++ b/make/solaris/makefiles/product.make	Wed Nov 12 11:01:31 2008 -0800
     1.3 @@ -41,7 +41,7 @@
     1.4  ifeq ("${Platform_compiler}", "sparcWorks")
     1.5  
     1.6  # Problem with SS12 compiler, dtrace doesn't like the .o files  (bug 6693876)
     1.7 -ifeq ($(COMPILER_REV),5.9)
     1.8 +ifeq ($(COMPILER_REV_NUMERIC),509)
     1.9    # Not clear this workaround could be skipped in some cases.
    1.10    OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g
    1.11    OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g
    1.12 @@ -49,9 +49,9 @@
    1.13  endif
    1.14  
    1.15  # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12)
    1.16 -ifeq ($(COMPILER_REV),5.8)
    1.17 +ifeq ($(COMPILER_REV_NUMERIC),508)
    1.18  OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2)
    1.19 -endif # COMPILER_REV == 5.8
    1.20 +endif # COMPILER_REV_NUMERIC == 508
    1.21  
    1.22  endif # Platform_compiler == sparcWorks
    1.23  

mercurial