From 56f1ae4d1a6d0283f411ab1b3b1418ac7bcdde00 Mon Sep 17 00:00:00 2001 From: Alexander Gabert Date: Sat, 6 Sep 2003 22:41:48 +0000 Subject: added hardened-gcc excludes --- sys-libs/db/db-4.0.14-r2.ebuild | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'sys-libs/db/db-4.0.14-r2.ebuild') diff --git a/sys-libs/db/db-4.0.14-r2.ebuild b/sys-libs/db/db-4.0.14-r2.ebuild index f972bef3336d..8bc00dfc63cf 100644 --- a/sys-libs/db/db-4.0.14-r2.ebuild +++ b/sys-libs/db/db-4.0.14-r2.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-4.0.14-r2.ebuild,v 1.3 2003/09/06 17:55:23 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.0.14-r2.ebuild,v 1.4 2003/09/06 22:41:42 pappy Exp $ IUSE="tcltk java doc" @@ -45,14 +45,10 @@ src_compile() { export JAVAC=`basename ${JAVAC}` fi - # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml - if has_version 'sys-devel/hardened-gcc' && [ ${CC}="gcc" ] ; then - einfo "if you get errors that the blackdown jar cannot be found" - einfo "do not forget to chpax -pems the jar and java binaries" - einfo "to prevent the PaX kernel from killing the binary" - CFLAGS="-yet_exec ${CFLAGS}" - sleep 4s - fi + # 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 ../dist/configure \ --prefix=/usr \ -- cgit v1.2.3-65-gdbad