Skip to content

Commit

Permalink
TS-1486 Drop support for Sun Studio compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
zwoop committed May 22, 2014
1 parent 5acff2c commit 0682573
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
2 changes: 2 additions & 0 deletions CHANGES
@@ -1,6 +1,8 @@
-*- coding: utf-8 -*-
Changes with Apache Traffic Server 5.0.0

*) [TS-1486] Drop support for Sun Studio compilers.

*) [TS-2765] Memory Leak in SSLConfig initialization

*) [TS-1125] POST's with Expect: 100-continue are slowed by delayed 100
Expand Down
17 changes: 2 additions & 15 deletions configure.ac
Expand Up @@ -790,9 +790,9 @@ AX_PROG_PERL_MODULES([ExtUtils::MakeMaker], AM_CONDITIONAL([BUILD_PERL_LIB], [tr
AM_CONDITIONAL([BUILD_PERL_LIB], [false])
)

# Check for GNU-style -On and for Solaris Studio style -xOn.
# Check for GNU-style -On optimization flags
AC_MSG_CHECKING([checking whether to auto-set compiler optimization flags])
has_optimizer_flags=`echo "$CFLAGS $CXXFLAGS" | ${AWK} '$0 !~ /-x?O.?/{print "no"}'`
has_optimizer_flags=`echo "$CFLAGS $CXXFLAGS" | ${AWK} '$0 !~ /-O.?/{print "no"}'`
AS_IF([test "x${has_optimizer_flags}" = "xno"],
[
optimizing_flags='-O3'
Expand Down Expand Up @@ -898,19 +898,6 @@ case $host_os_def in
;; # freebsd|kfreebsd)

solaris)
AS_IF([test "x$ax_cv_c_compiler_vendor" = "xsun"], [
# XXX: Solaris Studio support is going away: https://issues.apache.org/jira/browse/TS-1486
common_opt="-mt -D__WORDSIZE=64" # FIXME: arch should be detected
debug_opt="-g $common_opt"
release_opt="-g $common_opt $optimizing_flags"
cxx_opt="-library=stlport4"
cxx_dbg="+w2"
cxx_rel="-erroff"
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS], 1, [posix thread semantics])
AS_IF([test "x$solaris_use_stlport4" != "xyes"], [postdeps_CXX="-library=Crun"])
])

AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [
common_opt="-pipe -Wall"
debug_opt="-ggdb3 $common_opt"
Expand Down
1 change: 0 additions & 1 deletion contrib/manifests/omnios.sh
Expand Up @@ -20,7 +20,6 @@ pkg refresh

# Base ATS build dependencies.
pkg install \
developer/sunstudio12.1 \
developer/gcc46 \
developer/object-file \
developer/linker \
Expand Down

0 comments on commit 0682573

Please sign in to comment.