You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2018/03/03 04:57:15 UTC

[trafficserver] branch master updated: Remove unused SHARED_* build variables.

This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f6f096  Remove unused SHARED_* build variables.
6f6f096 is described below

commit 6f6f096c16c5332a7cc2793d6c719ca603d6e8ca
Author: James Peach <jp...@apache.org>
AuthorDate: Thu Mar 1 21:09:18 2018 -0800

    Remove unused SHARED_* build variables.
    
    Remove the SHARED_* build variables from configure, since they
    are not used.
---
 configure.ac | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/configure.ac b/configure.ac
index e994801..8306e49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -601,9 +601,8 @@ TS_SUBST([pkgdocdir])
 # Implementation note (toc)
 # 1) Get default compiler settings (case statement.)
 # 2) Check for over-rides of default compiler.
-# 3) Set standard CFLAGS, SHARED_CFLAGS, etc.
-# 4) (in first kludge mode block...) obtain any further CFLAG-type additions.
-# 5) Test compilers with all flags set.
+# 3) (in first kludge mode block...) obtain any further CFLAG-type additions.
+# 4) Test compilers with all flags set.
 
 # AC_PROG can sometimes mangle CFLAGS etc.
 # in particular, on Linux they insert -g -O2, here we preserve any user CFLAGS
@@ -956,11 +955,6 @@ cxx_oflag_dbg="$debug_opt $cxx_opt $cxx_dbg"
 # Special compiler flag hacks for various pieces of the code
 AC_SUBST([FLEX_CFLAGS], $flex_cflags)
 
-SHARED_CFLAGS=-fPIC
-SHARED_LDFLAGS=-shared
-SHARED_CXXFLAGS=-fPIC
-SHARED_CXXLINKFLAGS=-shared
-
 #
 # _Here_ is where we go ahead and add the _optimizations_ to already
 #  existing CFLAGS/CXXFLAGS if some special values had been set.
@@ -1994,10 +1988,6 @@ AC_SUBST([AM_CFLAGS])
 AC_SUBST([AM_CXXFLAGS])
 AC_SUBST([AM_LDFLAGS])
 AC_SUBST([iocore_include_dirs])
-AC_SUBST([SHARED_CFLAGS])
-AC_SUBST([SHARED_CXXFLAGS])
-AC_SUBST([SHARED_CXXLINKFLAGS])
-AC_SUBST([SHARED_LDFLAGS])
 
 AS_IF([test "x$RPATH" != "x"], [
        TS_ADDTO_RPATH([$RPATH])
@@ -2083,10 +2073,6 @@ AC_MSG_NOTICE([Build option summary:
     AM@&t@_CXXFLAGS:        $AM_CXXFLAGS
     AM@&t@_CPPFLAGS:        $AM_CPPFLAGS
     AM@&t@_LDFLAGS:         $AM_LDFLAGS
-    SHARED_CFLAGS:      $SHARED_CFLAGS
-    SHARED_CXXFLAGS:    $SHARED_CXXFLAGS
-    SHARED_CXXLINKFLAGS:$SHARED_LINKCXXFLAGS
-    SHARED_LDFLAGS:     $SHARED_LDFLAGS
     OPENSSL_LDFLAGS:    $OPENSSL_LDFLAGS
     OPENSSL_INCLUDES:   $OPENSSL_INCLUDES
     LUAJIT_CFLAGS:      $LUAJIT_CFLAGS

-- 
To stop receiving notification emails like this one, please contact
jpeach@apache.org.