summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-09-06 22:50:41 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-09-06 22:50:41 +0000
commita5a7cc1ca66aed0a6bfece89a49c98b4c7416743 (patch)
tree45a6d599c9a6a9d03470f1c7fdba1507c023110f /sys-apps/grub/grub-0.93.20030118.ebuild
parentadded hardened-gcc excludes (diff)
downloadhistorical-a5a7cc1ca66aed0a6bfece89a49c98b4c7416743.tar.gz
historical-a5a7cc1ca66aed0a6bfece89a49c98b4c7416743.tar.bz2
historical-a5a7cc1ca66aed0a6bfece89a49c98b4c7416743.zip
added hardened-gcc excludes
Diffstat (limited to 'sys-apps/grub/grub-0.93.20030118.ebuild')
-rw-r--r--sys-apps/grub/grub-0.93.20030118.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-apps/grub/grub-0.93.20030118.ebuild b/sys-apps/grub/grub-0.93.20030118.ebuild
index 2427df56a862..7ca0511c08f7 100644
--- a/sys-apps/grub/grub-0.93.20030118.ebuild
+++ b/sys-apps/grub/grub-0.93.20030118.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/grub/grub-0.93.20030118.ebuild,v 1.11 2003/09/06 16:27:42 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grub/grub-0.93.20030118.ebuild,v 1.12 2003/09/06 22:45:53 pappy Exp $
inherit mount-boot eutils flag-o-matic
@@ -43,9 +43,8 @@ src_compile() {
use static && export LDFLAGS="${LDFLAGS} -static"
# http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
- # grub configur somehow messes up the CFLAGS, so we need to do it dirty
- # this is only activated when transparent hardened-gcc is found!
- if has_version 'sys-devel/hardened-gcc' && [ ${CC}="gcc" ] ; then
+ if has_version 'sys-devel/hardened-gcc' && [ "${CC}"="gcc" ]
+ then
CC="${CC} -yet_exec"
fi