trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [trafficserver] branch master updated: TS-1878: Add --as-needed to the linker flags
Date Wed, 08 Feb 2017 16:42:11 GMT
This is an automated email from the ASF dual-hosted git repository.

nottheoilrig pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
       new  3e41668   TS-1878: Add --as-needed to the linker flags
3e41668 is described below

commit 3e41668cd91dcf3fddbd686bd62eb16114246460
Author: Jack Bates <>
AuthorDate: Thu Feb 2 15:50:29 2017 -0700

    TS-1878: Add --as-needed to the linker flags
    Normally the linker will link to every -llibrary mentioned on the
    command line. This option causes it to skip libraries that it doesn't in
    fact use any symbols from.
--- | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ b/
index d04b812..36f6b21 100644
--- a/
+++ b/
@@ -627,6 +627,7 @@ esac
 TS_ADDTO(CPPFLAGS, [-D$host_os_def])
+TS_ADDTO([AM_LDFLAGS], [-Wl,--as-needed])
 dnl AM_PROG_AR is not always available, but it doesn't seem to be needed in older versions.

To stop receiving notification emails like this one, please contact
['"" <>'].

View raw message