comparison make/solaris/makefiles/i486.make @ 1547:fb1a39993f69

6951319: enable solaris builds using Sun Studio 12 update 1 Reviewed-by: kamg, ysr, dholmes, johnc
author jcoomes
date Tue, 18 May 2010 11:02:18 -0700
parents c1345e85f901
children c18cbe5936b8
comparison
equal deleted inserted replaced
1546:a00b51b2dda4 1547:fb1a39993f69
31 31
32 # 32 #
33 # Special case flags for compilers and compiler versions on i486. 33 # Special case flags for compilers and compiler versions on i486.
34 # 34 #
35 ifeq ("${Platform_compiler}", "sparcWorks") 35 ifeq ("${Platform_compiler}", "sparcWorks")
36
37 # _lwp_create_interpose must have a frame
38 OPT_CFLAGS/os_solaris_x86.o = -xO1
39 else
40
41 ifeq ("${Platform_compiler}", "gcc")
42 # gcc
43 # _lwp_create_interpose must have a frame
44 OPT_CFLAGS/os_solaris_x86.o = -fno-omit-frame-pointer
45 #
46 else
47 # error
48 _JUNK2_ := $(shell echo >&2 \
49 "*** ERROR: this compiler is not yet supported by this code base!")
50 @exit 1
51 endif
52 endif
53
54 ifeq ("${Platform_compiler}", "sparcWorks")
55 # ILD is gone as of SS11 (5.8), not supported in SS10 (5.7) 36 # ILD is gone as of SS11 (5.8), not supported in SS10 (5.7)
56 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 507), 1) 37 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 507), 1)
57 # 38 #
58 # Bug in ild causes it to fail randomly. Until we get a fix we can't 39 # Bug in ild causes it to fail randomly. Until we get a fix we can't
59 # use ild. 40 # use ild.