summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kryczek <mkay@gentoo.org>2005-10-09 10:02:46 +0000
committerMarcin Kryczek <mkay@gentoo.org>2005-10-09 10:02:46 +0000
commitc8e4e9bd61b0ed7d42a8596890184a664c4f7a9a (patch)
treeef21911bd6c154e129e31a89895b74bbd6142156 /net-analyzer/tcpdump/tcpdump-3.9.3.ebuild
parentJapanese translation. (diff)
downloadhistorical-c8e4e9bd61b0ed7d42a8596890184a664c4f7a9a.tar.gz
historical-c8e4e9bd61b0ed7d42a8596890184a664c4f7a9a.tar.bz2
historical-c8e4e9bd61b0ed7d42a8596890184a664c4f7a9a.zip
Forcing at least -O optymalization. This fixes bug #108391
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'net-analyzer/tcpdump/tcpdump-3.9.3.ebuild')
-rw-r--r--net-analyzer/tcpdump/tcpdump-3.9.3.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-analyzer/tcpdump/tcpdump-3.9.3.ebuild b/net-analyzer/tcpdump/tcpdump-3.9.3.ebuild
index ca71971e873e..54768dc9cfa1 100644
--- a/net-analyzer/tcpdump/tcpdump-3.9.3.ebuild
+++ b/net-analyzer/tcpdump/tcpdump-3.9.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.3.ebuild,v 1.1 2005/09/20 03:41:24 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.3.ebuild,v 1.2 2005/10/09 10:02:46 mkay Exp $
inherit flag-o-matic toolchain-funcs eutils
@@ -28,6 +28,9 @@ src_unpack() {
}
src_compile() {
+ # tcpdump needs some optymalization. see bug #108391
+ ( ! is-flag -O? || is-flag -O0 ) && append-flags -O
+
replace-flags -O[3-9] -O2
filter-flags -finline-functions