summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-07 15:56:50 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-07 15:56:50 +0000
commit949933d1157886cf9200ec14dad96b1e64608136 (patch)
treeb864ebce8b9bd4567a5238891e09e39c20c96a9a /app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild
parentFix tests. (diff)
downloadgentoo-2-949933d1157886cf9200ec14dad96b1e64608136.tar.gz
gentoo-2-949933d1157886cf9200ec14dad96b1e64608136.tar.bz2
gentoo-2-949933d1157886cf9200ec14dad96b1e64608136.zip
Missing gcc-specs-pie check wrt #325545 by Dane Smith.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild')
-rw-r--r--app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild b/app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild
index 69cb31931e3f..11e3dc920bfa 100644
--- a/app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild
+++ b/app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild,v 1.1 2010/02/19 14:39:18 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.4.2.ebuild,v 1.2 2010/07/07 15:56:50 ssuominen Exp $
EAPI="2"
@@ -90,7 +90,7 @@ src_prepare() {
src_compile() {
use custom-cflags || strip-flags
append-flags -fPIC -fPIE
- append-ldflags -nopie
+ gcc-specs-pie && append-ldflags -nopie
CPP=$(tc-getCXX) CC=$(tc-getCC) AS=$(tc-getCC) LD=$(tc-getCC)
# use mpi && CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc