equal
deleted
inserted
replaced
16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
22 |
22 |
23 # |
23 # |
24 include ../../../make-rules/shared-macros.mk |
24 include ../../../make-rules/shared-macros.mk |
25 |
25 |
26 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin |
26 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin |
59 # Use of xprofile requires that the same options be used during compilation and |
59 # Use of xprofile requires that the same options be used during compilation and |
60 # linking. The targets chosen are based on Solaris 11 minimum supported system |
60 # linking. The targets chosen are based on Solaris 11 minimum supported system |
61 # requirements. |
61 # requirements. |
62 COMPONENT_BUILD_TARGETS = profile-opt |
62 COMPONENT_BUILD_TARGETS = profile-opt |
63 XPROFILE_DIR = $(BUILD_DIR_$(BITS))/.profile |
63 XPROFILE_DIR = $(BUILD_DIR_$(BITS))/.profile |
64 PYFLAGS.i386 = -xtarget=opteron -xarch=sse2 -xcache=generic |
64 # the non-clang compiler we need to use for now doesn't like |
|
65 # this flag |
|
66 #ifneq ($(strip $(PARFAIT_BUILD)),yes) |
|
67 PYFLAGS.i386 = -xtarget=opteron |
|
68 #endif |
|
69 PYFLAGS.i386 += -xarch=sse2 -xcache=generic |
65 PYFLAGS.sparc = |
70 PYFLAGS.sparc = |
66 CFLAGS += -xO5 $(PYFLAGS.$(MACH)) |
71 CFLAGS += -xO5 $(PYFLAGS.$(MACH)) |
67 LDFLAGS += -xO5 $(PYFLAGS.$(MACH)) |
72 LDFLAGS += -xO5 $(PYFLAGS.$(MACH)) |
68 |
73 |
69 # add /usr/gnu/lib to the library search/run path |
74 # add /usr/gnu/lib to the library search/run path |