See the ChangeLog below.
Anyone knows reason why we shouldn't do this?

Thanks,
Laca

Index: include/base.inc
===================================================================
--- include/base.inc    (revision 11190)
+++ include/base.inc    (working copy)
@@ -45,7 +45,7 @@
 %endif
 
 %ifarch sparc
-%define suncc_optflags           -i %_cc_opt_level -xstrconst
-xarch=v8a -mr
+%define suncc_optflags           -i %_cc_opt_level -xstrconst
-xarch=v8a -mr -xmemalign=4i
 %define suncc_cxx_optflags       -i %_cxx_opt_level -xarch=v8a -mr
-norunpath
 %endif
 
@@ -76,6 +76,9 @@
 %define _sysconfdir      /etc
 
 # ChangeLog:
+# 2007-04-26  Laszlo (Laca) Peter  <laca at sun.com>
+# - add -xmemalign=4i for sparc builds for binary compatibility with
+#   apps compiled with earlier versions of Sun Studio, fixes 6457446
 # 2007-04-05  Laszlo (Laca) Peter  <laca at sun.com>
 # - fix cxx_optflags: use EXTRA_CXXFLAGS and not EXTRA_LDFLAGS
 # 2007-03-19  Doug Scott <dougs at truemail.co.th>



Reply via email to