Mercurial > hg > truffle
comparison make/solaris/makefiles/i486.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 | c1345e85f901 |
comparison
equal
deleted
inserted
replaced
429:364141474b40 | 430:4d20a3aaf1ab |
---|---|
34 # | 34 # |
35 ifeq ("${Platform_compiler}", "sparcWorks") | 35 ifeq ("${Platform_compiler}", "sparcWorks") |
36 | 36 |
37 # _lwp_create_interpose must have a frame | 37 # _lwp_create_interpose must have a frame |
38 OPT_CFLAGS/os_solaris_i486.o = -xO1 | 38 OPT_CFLAGS/os_solaris_i486.o = -xO1 |
39 # force C++ interpreter to be full optimization | |
40 OPT_CFLAGS/interpret.o = -fast -O4 | |
41 else | 39 else |
42 | 40 |
43 ifeq ("${Platform_compiler}", "gcc") | 41 ifeq ("${Platform_compiler}", "gcc") |
44 # gcc | 42 # gcc |
45 # _lwp_create_interpose must have a frame | 43 # _lwp_create_interpose must have a frame |
46 OPT_CFLAGS/os_solaris_i486.o = -fno-omit-frame-pointer | 44 OPT_CFLAGS/os_solaris_i486.o = -fno-omit-frame-pointer |
47 # force C++ interpreter to be full optimization | |
48 OPT_CFLAGS/interpret.o = -O3 | |
49 # | 45 # |
50 else | 46 else |
51 # error | 47 # error |
52 _JUNK2_ := $(shell echo >&2 \ | 48 _JUNK2_ := $(shell echo >&2 \ |
53 "*** ERROR: this compiler is not yet supported by this code base!") | 49 "*** ERROR: this compiler is not yet supported by this code base!") |
55 endif | 51 endif |
56 endif | 52 endif |
57 | 53 |
58 ifeq ("${Platform_compiler}", "sparcWorks") | 54 ifeq ("${Platform_compiler}", "sparcWorks") |
59 # ILD is gone as of SS11 (5.8), not supported in SS10 (5.7) | 55 # ILD is gone as of SS11 (5.8), not supported in SS10 (5.7) |
60 ifeq ($(shell expr $(COMPILER_REV) \< 5.7), 1) | 56 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 507), 1) |
61 # | 57 # |
62 # Bug in ild causes it to fail randomly. Until we get a fix we can't | 58 # Bug in ild causes it to fail randomly. Until we get a fix we can't |
63 # use ild. | 59 # use ild. |
64 # | 60 # |
65 ILDFLAG/debug = -xildoff | 61 ILDFLAG/debug = -xildoff |