diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-02-23 23:29:34 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-02-23 23:29:34 +0000 |
commit | 1eb90cd101be79357f954806f77f081f841560e0 (patch) | |
tree | 96c48b164aab027c410c1fd98e6c15fc6832363f /net-misc | |
parent | ruby-ng.eclass: Improve no-matching-ruby-target-error message wording wrt bug... (diff) | |
download | gentoo-2-1eb90cd101be79357f954806f77f081f841560e0.tar.gz gentoo-2-1eb90cd101be79357f954806f77f081f841560e0.tar.bz2 gentoo-2-1eb90cd101be79357f954806f77f081f841560e0.zip |
Add -nopie to CFLAGS for hardened because of PIC unfriendly asm
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/cgminer/ChangeLog | 2 | ||||
-rw-r--r-- | net-misc/cgminer/cgminer-2.3.0.ebuild | 15 |
2 files changed, 10 insertions, 7 deletions
diff --git a/net-misc/cgminer/ChangeLog b/net-misc/cgminer/ChangeLog index 8cd168a609f4..ff62c7e1bed2 100644 --- a/net-misc/cgminer/ChangeLog +++ b/net-misc/cgminer/ChangeLog @@ -1,4 +1,6 @@ + 23 Feb 2012; Anthony G. Basile <blueness@gentoo.org> cgminer-2.3.0.ebuild: + Add -nopie to CFLAGS for hardened because of PIC unfriendly asm *cgminer-2.3.0 (23 Feb 2012) diff --git a/net-misc/cgminer/cgminer-2.3.0.ebuild b/net-misc/cgminer/cgminer-2.3.0.ebuild index 67af5d19b7ef..40ecbf346323 100644 --- a/net-misc/cgminer/cgminer-2.3.0.ebuild +++ b/net-misc/cgminer/cgminer-2.3.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.3.0.ebuild,v 1.1 2012/02/23 18:16:38 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.3.0.ebuild,v 1.2 2012/02/23 23:29:34 blueness Exp $ -EAPI=4 +EAPI="4" DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C" HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0" @@ -12,24 +12,24 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" -IUSE="+adl altivec bitforce +cpumining examples icarus +opencl padlock sse2 sse2_4way sse4" -REQUIRED_USE=' +IUSE="+adl altivec bitforce +cpumining examples hardened icarus +opencl padlock sse2 sse2_4way sse4" +REQUIRED_USE=" || ( bitforce cpumining icarus opencl ) adl? ( opencl ) altivec? ( cpumining ppc ppc64 ) padlock? ( cpumining || ( amd64 x86 ) ) sse2? ( cpumining || ( amd64 x86 ) ) sse4? ( cpumining amd64 ) -' +" -DEPEND=' +DEPEND=" net-misc/curl sys-libs/ncurses dev-libs/jansson opencl? ( virtual/opencl ) -' +" RDEPEND="${DEPEND}" DEPEND="${DEPEND} dev-util/pkgconfig @@ -67,6 +67,7 @@ src_configure() { fi use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1" use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1" + use hardened && CFLAGS="${CFLAGS} -nopie" CFLAGS="${CFLAGS}" \ econf \ $(use_enable adl) \ |