summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-12-14 04:11:38 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-12-14 04:11:38 +0000
commitff30f3a3cc16b862429fca5636eb294f057614b2 (patch)
tree5b697fef0694832b024ea02f17cf7f477e95ec19 /dev-libs/dietlibc/dietlibc-0.24.ebuild
parentadded filter-flags logic for propolice (diff)
downloadgentoo-2-ff30f3a3cc16b862429fca5636eb294f057614b2.tar.gz
gentoo-2-ff30f3a3cc16b862429fca5636eb294f057614b2.tar.bz2
gentoo-2-ff30f3a3cc16b862429fca5636eb294f057614b2.zip
added filter-flags logic for propolice
Diffstat (limited to 'dev-libs/dietlibc/dietlibc-0.24.ebuild')
-rw-r--r--dev-libs/dietlibc/dietlibc-0.24.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/dev-libs/dietlibc/dietlibc-0.24.ebuild b/dev-libs/dietlibc/dietlibc-0.24.ebuild
index 689b83859cb1..8d5cc2f91108 100644
--- a/dev-libs/dietlibc/dietlibc-0.24.ebuild
+++ b/dev-libs/dietlibc/dietlibc-0.24.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/dev-libs/dietlibc/dietlibc-0.24.ebuild,v 1.3 2003/12/06 15:55:40 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.24.ebuild,v 1.4 2003/12/14 04:11:32 pappy Exp $
inherit eutils flag-o-matic fixheadtails
@@ -19,6 +19,10 @@ src_unpack() {
epatch ${FILESDIR}/${PV}-dirent-prototype.patch
+ # depending on glibc to provide guard symbols, does not work with -nostdlib building
+ filter-flags "-fstack-protector"
+ filter-flags "fstack-protector-all"
+
sed -i \
-e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \
-e "s:^prefix.*:prefix=/usr/diet:" \
@@ -30,10 +34,11 @@ src_unpack() {
src_compile() {
filter-flags "-fstack-protector"
-# Added by Jason Wever <weeve@gentoo.org>
-# Fix for bug #27171.
-# dietlibc assumes that if uname -m is sparc64, then gcc is 64 bit
-# but this is not the case on Gentoo currently.
+
+ # Added by Jason Wever <weeve@gentoo.org>
+ # Fix for bug #27171.
+ # dietlibc assumes that if uname -m is sparc64, then gcc is 64 bit
+ # but this is not the case on Gentoo currently.
if [ "${ARCH}" = "sparc" -a "${PROFILE_ARCH}" = "sparc64" ]; then
cd ${S}