Commit 641da3ca authored by Mark Andrews's avatar Mark Andrews

gcc's optimiser is broken at -02 for ultrasparc

parent c7fc6434
#! /bin/sh
# From configure.in Revision: 1.335 .
# From configure.in Revision: 1.336 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
......@@ -2692,6 +2692,17 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
#
# gcc's optimiser is broken at -02 for ultrasparc
#
if test "$ac_env_CFLAGS_set" != set -a "X$GCC" = "Xyes"; then
case "$host" in
sparc-*-solaris*)
CCFLAGS="-g -O1"
;;
esac
fi
#
# OSF 5.0: recv/send are only avaliable with -D_POSIX_PII_SOCKET or
# -D_XOPEN_SOURCE_EXTENDED.
......@@ -7594,7 +7605,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
case $host in
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 7597 "configure"' > conftest.$ac_ext
echo '#line 7608 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
......@@ -8144,7 +8155,7 @@ chmod -w .
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
if { (eval echo configure:8147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
if { (eval echo configure:8158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
......@@ -10011,7 +10022,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 10014 "configure"
#line 10025 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
......@@ -10109,7 +10120,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 10112 "configure"
#line 10123 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
......
......@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.335 $)
AC_REVISION($Revision: 1.336 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
......@@ -192,6 +192,17 @@ fi
AC_PROG_CC
#
# gcc's optimiser is broken at -02 for ultrasparc
#
if test "$ac_env_CFLAGS_set" != set -a "X$GCC" = "Xyes"; then
case "$host" in
sparc-*-solaris*)
CCFLAGS="-g -O1"
;;
esac
fi
#
# OSF 5.0: recv/send are only avaliable with -D_POSIX_PII_SOCKET or
# -D_XOPEN_SOURCE_EXTENDED.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment