components/python/python34/Makefile
branchs11-update
changeset 3791 1504f7bde5fd
parent 3789 137fdcb27c8e
child 3793 7befd73326eb
--- a/components/python/python34/Makefile	Fri Jan 09 08:39:56 2015 -0800
+++ b/components/python/python34/Makefile	Sat Jan 10 08:18:26 2015 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -76,6 +76,9 @@
 # build pic
 CFLAGS +=	$(CC_PIC)
 
+# 16-byte memory alignment + interpretation of non-alignment prevents SIGBUS.
+studio_ALIGN.sparc.64 = -xmemalign=16i
+
 # The python build is profile-guided for studio; to see the benefits of that,
 # Python must be compiled with -xO5 and a different build target must be used.
 # Use of xprofile requires that the same options be used during compilation and