summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-09-23 16:06:07 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-09-23 16:06:07 +0000
commit91841956b1ce0aced939db2c257e3444bfa2a00a (patch)
treef53450bfa0da3f933d98f43c511003e35ea888f4 /net-misc
parentforgot my GRP_STAGE23_USE (diff)
downloadgentoo-2-91841956b1ce0aced939db2c257e3444bfa2a00a.tar.gz
gentoo-2-91841956b1ce0aced939db2c257e3444bfa2a00a.tar.bz2
gentoo-2-91841956b1ce0aced939db2c257e3444bfa2a00a.zip
Fixed gcc-3.4 compile issues.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/mknbi/ChangeLog6
-rw-r--r--net-misc/mknbi/mknbi-1.4.3.ebuild11
2 files changed, 15 insertions, 2 deletions
diff --git a/net-misc/mknbi/ChangeLog b/net-misc/mknbi/ChangeLog
index 4e2fabd9d14a..24113960c04d 100644
--- a/net-misc/mknbi/ChangeLog
+++ b/net-misc/mknbi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/mknbi
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/ChangeLog,v 1.10 2004/06/24 23:56:26 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/ChangeLog,v 1.11 2004/09/23 16:06:07 sekretarz Exp $
+
+ 23 Sep 2004; Karol Wojtaszek <sekretarz@gentoo.org> mknbi-1.4.3.ebuild:
+ Fixed gcc-3.4 compile issues. Thanks to Mark Loeser <halcyon@whiterapid.com>
+ in Bug 64049
25 Apr 2004; Jon Hood <squinky86@gentoo.org> mknbi-1.4.0.ebuild,
mknbi-1.4.1.ebuild, mknbi-1.4.3.ebuild:
diff --git a/net-misc/mknbi/mknbi-1.4.3.ebuild b/net-misc/mknbi/mknbi-1.4.3.ebuild
index 81afa6fb3576..f06f3e12eb76 100644
--- a/net-misc/mknbi/mknbi-1.4.3.ebuild
+++ b/net-misc/mknbi/mknbi-1.4.3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.3.ebuild,v 1.5 2004/07/15 03:04:35 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.3.ebuild,v 1.6 2004/09/23 16:06:07 sekretarz Exp $
+
+inherit gcc
DESCRIPTION="Utility for making tagged kernel images useful for netbooting"
SRC_URI="mirror://sourceforge/etherboot/${P}.tar.gz"
@@ -18,6 +20,13 @@ DEPEND=">=dev-lang/perl-5.6.1
src_compile()
{
sed -i -e "s:\/usr\/local:\/usr:" Makefile
+
+ #apply modifications to CFLAGS to fix for gcc 3.4: bug #64049
+ if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
+ then
+ sed -i -e "s:\-mcpu:\-mtune:" Makefile
+ sed -i -e "s:CFLAGS=:CFLAGS= -minline-all-stringops:" Makefile
+ fi
emake || die "Compile failed"
}