components/python/python34/Makefile
branchs11-update
changeset 3791 1504f7bde5fd
parent 3789 137fdcb27c8e
child 3793 7befd73326eb
equal deleted inserted replaced
3790:29f21fba058a 3791:1504f7bde5fd
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		Python
    28 COMPONENT_NAME=		Python
    73 # because python links with $(CC) ... $(LDFLAGS) ...
    73 # because python links with $(CC) ... $(LDFLAGS) ...
    74 LDFLAGS =	$(CC_BITS) $(CC_PIC)
    74 LDFLAGS =	$(CC_BITS) $(CC_PIC)
    75 
    75 
    76 # build pic
    76 # build pic
    77 CFLAGS +=	$(CC_PIC)
    77 CFLAGS +=	$(CC_PIC)
       
    78 
       
    79 # 16-byte memory alignment + interpretation of non-alignment prevents SIGBUS.
       
    80 studio_ALIGN.sparc.64 = -xmemalign=16i
    78 
    81 
    79 # The python build is profile-guided for studio; to see the benefits of that,
    82 # The python build is profile-guided for studio; to see the benefits of that,
    80 # Python must be compiled with -xO5 and a different build target must be used.
    83 # Python must be compiled with -xO5 and a different build target must be used.
    81 # Use of xprofile requires that the same options be used during compilation and
    84 # Use of xprofile requires that the same options be used during compilation and
    82 # linking.  The targets chosen are based on Solaris 11 minimum supported system
    85 # linking.  The targets chosen are based on Solaris 11 minimum supported system