--- /home/flame/devel/repos/carel-overlay/sys-fs/dosfstools/dosfstools-2.11-r2.ebuild 2006-12-11 03:02:53.867277940 +0100 +++ dosfstools-2.11-r2.ebuild 2006-12-11 03:07:50.036095530 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/dosfstools/dosfstools-2.11-r2.ebuild,v 1.1 2006/10/05 16:27:07 robbat2 Exp $ -inherit eutils toolchain-funcs +inherit eutils toolchain-funcs flag-o-matic DESCRIPTION="DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat" HOMEPAGE="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/" @@ -28,8 +28,10 @@ src_compile() { # this package does *not* play well with optimisations - # please dont change to: make OPTFLAGS="${CFLAGS}" - emake -j1 CC="$(tc-getCC)" || die + strip-flags + append-lfs-flags # Maintain current behaviour + + emake -j1 CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" || die } src_install() {