Skip to content
Browse files

TS-1486 Drop support for Sun Studio compilers

  • Loading branch information...
1 parent 5acff2c commit 06825735ca85c3d910e9d6cceb6b8628ece757a4 @zwoop zwoop committed May 21, 2014
Showing with 4 additions and 16 deletions.
  1. +2 −0 CHANGES
  2. +2 −15 configure.ac
  3. +0 −1 contrib/manifests/omnios.sh
View
2 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
View
17 configure.ac
@@ -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'
@@ -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"
View
1 contrib/manifests/omnios.sh
@@ -20,7 +20,6 @@ pkg refresh
# Base ATS build dependencies.
pkg install \
- developer/sunstudio12.1 \
developer/gcc46 \
developer/object-file \
developer/linker \

0 comments on commit 0682573

Please sign in to comment.
Something went wrong with that request. Please try again.