diff options
author | Alexander Gabert <pappy@gentoo.org> | 2003-09-06 17:55:29 +0000 |
---|---|---|
committer | Alexander Gabert <pappy@gentoo.org> | 2003-09-06 17:55:29 +0000 |
commit | f1788c283913685fe243d679808d5bbd50086c7a (patch) | |
tree | d7c9e3e9c83aac12a794efe0d96cd6c3c0ee57ea /sys-libs/db/db-3.2.9-r7.ebuild | |
parent | added hardened-gcc exclude flags for proper compilation (diff) | |
download | gentoo-2-f1788c283913685fe243d679808d5bbd50086c7a.tar.gz gentoo-2-f1788c283913685fe243d679808d5bbd50086c7a.tar.bz2 gentoo-2-f1788c283913685fe243d679808d5bbd50086c7a.zip |
added hardened-gcc exclude flags for proper compilation
Diffstat (limited to 'sys-libs/db/db-3.2.9-r7.ebuild')
-rw-r--r-- | sys-libs/db/db-3.2.9-r7.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-libs/db/db-3.2.9-r7.ebuild b/sys-libs/db/db-3.2.9-r7.ebuild index 01e7ed9f7741..52f2e495720b 100644 --- a/sys-libs/db/db-3.2.9-r7.ebuild +++ b/sys-libs/db/db-3.2.9-r7.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-libs/db/db-3.2.9-r7.ebuild,v 1.2 2003/09/04 08:04:42 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-3.2.9-r7.ebuild,v 1.3 2003/09/06 17:55:23 pappy Exp $ IUSE="" @@ -53,6 +53,12 @@ src_unpack() { # Fix invalid .la files cd ${WORKDIR}/${P}/dist rm -f ltversion.sh + + # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml + if has_version 'sys-devel/hardened-gcc' && [ ${CC}="gcc" ] ; then + CFLAGS="-yet_exec ${CFLAGS}" + fi + # remove config.guess else we have problems with gcc-3.2 rm -f config.guess sed -i "s,\(-D_GNU_SOURCE\),\1 ${CFLAGS}," configure |