diff options
author | Alexander Gabert <pappy@gentoo.org> | 2003-11-12 11:13:25 +0000 |
---|---|---|
committer | Alexander Gabert <pappy@gentoo.org> | 2003-11-12 11:13:25 +0000 |
commit | 740ea93e6893322d826fc87880cc1a47ed7db5dc (patch) | |
tree | 8f87fa581cf2281d2f217be873526b66a35c93da /sys-apps/lilo | |
parent | added hardened-gcc -yet_exec flags for gcc building lilo which has assembler ... (diff) | |
download | gentoo-2-740ea93e6893322d826fc87880cc1a47ed7db5dc.tar.gz gentoo-2-740ea93e6893322d826fc87880cc1a47ed7db5dc.tar.bz2 gentoo-2-740ea93e6893322d826fc87880cc1a47ed7db5dc.zip |
added hardened-gcc -yet_exec flags for gcc building lilo which has assembler parts in it
Diffstat (limited to 'sys-apps/lilo')
-rw-r--r-- | sys-apps/lilo/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/lilo/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/lilo/lilo-22.5.8-r1.ebuild | 8 |
3 files changed, 14 insertions, 4 deletions
diff --git a/sys-apps/lilo/ChangeLog b/sys-apps/lilo/ChangeLog index df4085640f00..f30707e853c6 100644 --- a/sys-apps/lilo/ChangeLog +++ b/sys-apps/lilo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/lilo # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/ChangeLog,v 1.36 2003/11/06 21:20:47 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/ChangeLog,v 1.37 2003/11/12 11:13:19 pappy Exp $ + + 12 Nov 2003; Alexander Gabert <pappy@gentoo.org> lilo-22.5.8-r1.ebuild: + added hardened-gcc -yet_exec flags for gcc building lilo which has assembler + parts in it *lilo-22.5.8-r1 (06 Nov 2003) diff --git a/sys-apps/lilo/Manifest b/sys-apps/lilo/Manifest index d488ac8aeba2..d554a42c486f 100644 --- a/sys-apps/lilo/Manifest +++ b/sys-apps/lilo/Manifest @@ -1,12 +1,12 @@ MD5 b7a131091da3273481f41861e53fa3e7 lilo-22.5.7.2.ebuild 3982 MD5 8f103f87dc17f98714de8b66024e8ecc lilo-22.5.6-r3.ebuild 3723 MD5 9d48349e4847a7aa2a6824848c57e8f2 lilo-22.3.3-r1.ebuild 1998 -MD5 89133ae99a928225eb66d5b246cceab9 lilo-22.5.8-r1.ebuild 4191 +MD5 bbfe6593e01615c365f1027836b293f3 lilo-22.5.8-r1.ebuild 4190 MD5 00330f65a2830960c48511693c96eb7a lilo-22.5.1.ebuild 4575 MD5 de524e597e1f7dca066a53678896ef2f lilo-22.5.6-r2.ebuild 3437 MD5 47b444bfb2e1822691b4e62caf2ad676 lilo-22.5.8.ebuild 4040 MD5 7dd6ff54cf104acb2bf33b4c22b85460 lilo-22.3.4.ebuild 2003 -MD5 e9e659df222a98689933ccbc770e189b ChangeLog 6101 +MD5 762627786a22f9bd0c05f7a2222fb182 ChangeLog 6100 MD5 69ded17592f9b6efa8bc67ba9e268c12 lilo-22.1-r3.ebuild 1583 MD5 ca44cc6ec0aecfe30c49c455f74aacec files/lilo-22.5.6-glibc233.patch 640 MD5 00de3473e03e180faad32ed00335cc7b files/digest-lilo-22.1-r3 61 diff --git a/sys-apps/lilo/lilo-22.5.8-r1.ebuild b/sys-apps/lilo/lilo-22.5.8-r1.ebuild index 607e08cf33e1..3b0ed5f87955 100644 --- a/sys-apps/lilo/lilo-22.5.8-r1.ebuild +++ b/sys-apps/lilo/lilo-22.5.8-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/lilo-22.5.8-r1.ebuild,v 1.2 2003/11/07 18:39:51 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/lilo-22.5.8-r1.ebuild,v 1.3 2003/11/12 11:13:19 pappy Exp $ inherit mount-boot eutils @@ -45,6 +45,12 @@ src_unpack() { } src_compile() { + # add the hardened-gcc compiler flag for building its assembler parts ;-) + if has_version 'sys-devel/hardened-gcc' + then + export CC="${CC:=gcc} -yet_exec" + find ${W} -type f -name "Makefile" -exec sed -i "s:CC=cc:CC=${CC}:" {} \; + fi # Do not use custom CFLAGS for stability reasons emake CC="${CC:=gcc}" lilo || die |