143 # Use these to work around compiler bugs: |
143 # Use these to work around compiler bugs: |
144 OPT_CFLAGS/SLOWER=-xO3 |
144 OPT_CFLAGS/SLOWER=-xO3 |
145 OPT_CFLAGS/O2=-xO2 |
145 OPT_CFLAGS/O2=-xO2 |
146 OPT_CFLAGS/NOOPT=-xO1 |
146 OPT_CFLAGS/NOOPT=-xO1 |
147 |
147 |
|
148 ################################################# |
|
149 # Begin current (>=5.9) Forte compiler options # |
|
150 ################################################# |
|
151 |
148 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
152 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
149 ifeq ($(Platform_arch), x86) |
153 ifeq ($(Platform_arch), x86) |
150 OPT_CFLAGS/NO_TAIL_CALL_OPT = -Wu,-O~yz |
154 OPT_CFLAGS/NO_TAIL_CALL_OPT = -Wu,-O~yz |
151 OPT_CCFLAGS/NO_TAIL_CALL_OPT = -Qoption ube -O~yz |
155 OPT_CCFLAGS/NO_TAIL_CALL_OPT = -Qoption ube -O~yz |
|
156 OPT_CFLAGS/stubGenerator_x86_32.o = $(OPT_CFLAGS) -xspace |
|
157 OPT_CFLAGS/stubGenerator_x86_64.o = $(OPT_CFLAGS) -xspace |
152 endif # Platform_arch == x86 |
158 endif # Platform_arch == x86 |
|
159 ifeq ("${Platform_arch}", "sparc") |
|
160 OPT_CFLAGS/stubGenerator_sparc.o = $(OPT_CFLAGS) -xspace |
|
161 endif |
153 endif # COMPILER_REV_NUMERIC >= 509 |
162 endif # COMPILER_REV_NUMERIC >= 509 |
154 |
163 |
155 ################################################# |
164 ################################################# |
156 # Begin current (>=5.6) Forte compiler options # |
165 # Begin current (>=5.6) Forte compiler options # |
157 ################################################# |
166 ################################################# |