Index: silo-1.4.5.ebuild =================================================================== RCS file: /home/cvsroot/gentoo-x86/sys-boot/silo/silo-1.4.5.ebuild,v retrieving revision 1.1 diff -u -b -B -w -p -r1.1 silo-1.4.5.ebuild --- silo-1.4.5.ebuild 18 May 2004 22:56:52 -0000 1.1 +++ silo-1.4.5.ebuild 24 May 2004 11:04:24 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/sys-boot/silo/silo-1.4.5.ebuild,v 1.1 2004/05/18 22:56:52 ciaranm Exp $ -inherit mount-boot +inherit mount-boot gcc S=${WORKDIR}/${P} DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc" @@ -18,6 +18,12 @@ PROVIDE="virtual/bootloader" DEPEND="sys-fs/e2fsprogs sys-apps/sparc-utils" +src_unpack() { + unpack ${A} + $(gcc-getCC) -fstack-protector -S -o /dev/null -xc /dev/null >/dev/null 2>&1 && + sed -i -e s:-Wall:'-Wall -fno-stack-protector':g ${S}/silo/Makefile +} + src_compile() { make ${MAKEOPTS} || die }