1 # |
1 # |
2 # Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
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 ################################################# |
148 # Flags for creating the dependency files. |
|
149 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
|
150 DEPFLAGS = -xMMD -xMF $(DEP_DIR)/$(@:%=%.d) |
|
151 endif |
|
152 |
|
153 ################################################ |
149 # Begin current (>=5.9) Forte compiler options # |
154 # Begin current (>=5.9) Forte compiler options # |
150 ################################################# |
155 ################################################# |
151 |
156 |
152 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
157 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
153 ifeq ($(Platform_arch), x86) |
158 ifeq ($(Platform_arch), x86) |