summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-05-02 09:45:56 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-05-02 09:45:56 +0000
commitb2f6631d4d5032d29ec004e248d5c8595a77d981 (patch)
tree08a7b771215f0bd9ce849f1d17e01b48c66f1442 /net-firewall/iptables/iptables-1.2.8.ebuild
parentopenmosix.config resists now in /etc/openmosix (diff)
downloadhistorical-b2f6631d4d5032d29ec004e248d5c8595a77d981.tar.gz
historical-b2f6631d4d5032d29ec004e248d5c8595a77d981.tar.bz2
historical-b2f6631d4d5032d29ec004e248d5c8595a77d981.zip
Fixed optimization issues
Diffstat (limited to 'net-firewall/iptables/iptables-1.2.8.ebuild')
-rw-r--r--net-firewall/iptables/iptables-1.2.8.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-firewall/iptables/iptables-1.2.8.ebuild b/net-firewall/iptables/iptables-1.2.8.ebuild
index 1b0bb98c3c48..945c739da4ba 100644
--- a/net-firewall/iptables/iptables-1.2.8.ebuild
+++ b/net-firewall/iptables/iptables-1.2.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.2.8.ebuild,v 1.1 2003/04/19 12:18:36 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.2.8.ebuild,v 1.2 2003/05/02 09:45:56 aliz Exp $
-inherit eutils
+inherit eutils flag-o-matic
IUSE=""
@@ -19,6 +19,11 @@ LICENSE="GPL-2"
DEPEND="virtual/os-headers"
src_unpack() {
+
+ if [ -z $( get-flag O ) ]; then
+ append-flags -O2
+ fi
+
unpack ${A}
cd ${S}