make/solaris/makefiles/product.make

changeset 1902
fb1a39993f69
parent 865
4d20a3aaf1ab
child 1907
c18cbe5936b8
     1.1 --- a/make/solaris/makefiles/product.make	Mon May 17 00:47:28 2010 -0700
     1.2 +++ b/make/solaris/makefiles/product.make	Tue May 18 11:02:18 2010 -0700
     1.3 @@ -40,13 +40,10 @@
     1.4  # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
     1.5  ifeq ("${Platform_compiler}", "sparcWorks")
     1.6  
     1.7 -# Problem with SS12 compiler, dtrace doesn't like the .o files  (bug 6693876)
     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 -  OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g
    1.13 -endif
    1.14 +ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
    1.15 +# dtrace cannot handle tail call optimization (6672627, 6693876)
    1.16 +OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT)
    1.17 +endif # COMPILER_NUMERIC_REV >= 509
    1.18  
    1.19  # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12)
    1.20  ifeq ($(COMPILER_REV_NUMERIC),508)

mercurial