comparison make/solaris/makefiles/optimized.make @ 435: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 acba6af809c8
comparison
equal deleted inserted replaced
2:555e9b263517 3:4ce3bcfbfa35
31 31
32 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) 32 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
33 ifeq ("${Platform_compiler}", "sparcWorks") 33 ifeq ("${Platform_compiler}", "sparcWorks")
34 34
35 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) 35 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876)
36 ifeq ($(COMPILER_REV),5.9) 36 ifeq ($(COMPILER_REV_NUMERIC),509)
37 # Not clear this workaround could be skipped in some cases. 37 # Not clear this workaround could be skipped in some cases.
38 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g 38 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g
39 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g 39 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g
40 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g 40 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g
41 endif 41 endif
42 42
43 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12) 43 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12)
44 ifeq ($(COMPILER_REV),5.8)) 44 ifeq ($(COMPILER_REV_NUMERIC),508))
45 OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2) 45 OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2)
46 endif # COMPILER_REV == 5.8 46 endif # COMPILER_REV_NUMERIC == 508
47 47
48 endif # Platform_compiler == sparcWorks 48 endif # Platform_compiler == sparcWorks
49 49
50 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings 50 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings
51 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) 51 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE)