net-analyzer/tcpdump: Update live ebuild.
authorJeroen Roovers <jer@gentoo.org>
Fri, 8 Sep 2017 04:07:43 +0000 (06:07 +0200)
committerJeroen Roovers <jer@gentoo.org>
Fri, 8 Sep 2017 04:12:56 +0000 (06:12 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

net-analyzer/tcpdump/tcpdump-9999.ebuild

index a631cce9193b2d9e59a14efe9d6f0f9ed3c2afc3..6826bbc5e4387bb3f32f59c33faa2cd3f30a7fc9 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils flag-o-matic toolchain-funcs user
+inherit flag-o-matic toolchain-funcs user
 
 DESCRIPTION="A Tool for network monitoring and data acquisition"
 EGIT_REPO_URI="https://github.com/the-tcpdump-group/tcpdump"
@@ -48,13 +48,6 @@ pkg_setup() {
 }
 
 src_configure() {
-       # tcpdump needs some optimization. see bug #108391
-       # but do not replace -Os
-       filter-flags -O[0-9]
-       has -O? ${CFLAGS} || append-cflags -O2
-
-       filter-flags -finline-functions
-
        if use drop-root; then
                append-cppflags -DHAVE_CAP_NG_H
                export LIBS=$( $(tc-getPKG_CONFIG) --libs libcap-ng )