comparison make/solaris/makefiles/product.make @ 430:4d20a3aaf1ab

6769748: Fix solaris makefiles for the case when "CC -V" produces several lines Summary: Fix solaris makefiles for 5.10 compilers Reviewed-by: jcoomes
author kvn
date Wed, 12 Nov 2008 11:01:31 -0800
parents d1605aabd0a1
children fb1a39993f69
comparison
equal deleted inserted replaced
429:364141474b40 430:4d20a3aaf1ab
39 39
40 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) 40 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
41 ifeq ("${Platform_compiler}", "sparcWorks") 41 ifeq ("${Platform_compiler}", "sparcWorks")
42 42
43 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) 43 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876)
44 ifeq ($(COMPILER_REV),5.9) 44 ifeq ($(COMPILER_REV_NUMERIC),509)
45 # Not clear this workaround could be skipped in some cases. 45 # Not clear this workaround could be skipped in some cases.
46 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g 46 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g
47 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g 47 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g
48 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g 48 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g
49 endif 49 endif
50 50
51 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12) 51 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12)
52 ifeq ($(COMPILER_REV),5.8) 52 ifeq ($(COMPILER_REV_NUMERIC),508)
53 OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2) 53 OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2)
54 endif # COMPILER_REV == 5.8 54 endif # COMPILER_REV_NUMERIC == 508
55 55
56 endif # Platform_compiler == sparcWorks 56 endif # Platform_compiler == sparcWorks
57 57
58 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings 58 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings
59 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) 59 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE)