configure.ac (machdep): Use sparc_mach_dep.lo on sparc64-sun-solaris2.* too.

* configure.ac (machdep): Use sparc_mach_dep.lo on
	sparc64-sun-solaris2.* too.
	(Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
	* configure: Regenerate.

From-SVN: r91047
This commit is contained in:
Eric Botcazou 2004-11-23 00:32:13 +01:00 committed by Eric Botcazou
parent eedfcb09b4
commit ab52d20776
3 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
* configure.ac (machdep): Use sparc_mach_dep.lo on
sparc64-sun-solaris2.* too.
(Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
* configure: Regenerate.
2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/18444

4
boehm-gc/configure vendored
View file

@ -5768,7 +5768,7 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
;;
sparc-sun-solaris2.*)
sparc*-sun-solaris2.*)
machdep="sparc_mach_dep.lo"
;;
ia64-*-*)
@ -6446,7 +6446,7 @@ fi
echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
case "$host" in
sparc-sun-solaris2*|*aix*)
*aix*)
if test "$GCC" = yes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

View file

@ -336,7 +336,7 @@ case "$host" in
machdep="sparc_mach_dep.lo"
AC_DEFINE(SUNOS53_SHARED_LIB,1,[Avoid Solaris 5.3 dynamic library bug])
;;
sparc-sun-solaris2.*)
sparc*-sun-solaris2.*)
machdep="sparc_mach_dep.lo"
;;
ia64-*-*)
@ -378,10 +378,10 @@ fi
dnl As of 4.13a2, the collector will not properly work on Solaris when
dnl built with gcc and -O. So we remove -O in the appropriate case.
dnl
dnl Not needed anymore on Solaris.
AC_MSG_CHECKING(whether Solaris gcc optimization fix is necessary)
case "$host" in
sparc-sun-solaris2*|*aix*)
*aix*)
if test "$GCC" = yes; then
AC_MSG_RESULT(yes)
new_CFLAGS=