From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69E38139694 for ; Wed, 8 Mar 2017 13:48:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3210E0CA3; Wed, 8 Mar 2017 13:48:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79DBAE0CA3 for ; Wed, 8 Mar 2017 13:48:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9BB48341647 for ; Wed, 8 Mar 2017 13:48:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63B80610C for ; Wed, 8 Mar 2017 13:48:46 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1488980918.75443af4774ae964a1225dd823e4929d0a3aa2da.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/icedtea/icedtea-3.3.0.ebuild X-VCS-Directories: dev-java/icedtea/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 75443af4774ae964a1225dd823e4929d0a3aa2da X-VCS-Branch: master Date: Wed, 8 Mar 2017 13:48:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4f20f4fd-8ad7-4dbe-af2c-0765ccb73a79 X-Archives-Hash: 9a9ff5fea692bca1943908b168e674cc commit: 75443af4774ae964a1225dd823e4929d0a3aa2da Author: James Le Cuirot gentoo org> AuthorDate: Wed Mar 8 13:47:09 2017 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Mar 8 13:48:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75443af4 dev-java/icedtea: Always disable PCH on PaX systems, bug #601016 I will add this to 7.2 when it supports disabling PCH in 7.2.7.0. Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-java/icedtea/icedtea-3.3.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-java/icedtea/icedtea-3.3.0.ebuild b/dev-java/icedtea/icedtea-3.3.0.ebuild index 1bde5048e78..56c7b57cf85 100644 --- a/dev-java/icedtea/icedtea-3.3.0.ebuild +++ b/dev-java/icedtea/icedtea-3.3.0.ebuild @@ -1,5 +1,6 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 + # Build written by Andrew John Hughes (gnu_andrew@member.fsf.org) EAPI="6" @@ -280,6 +281,13 @@ src_configure() { config+=" --disable-ccache" fi + # PaX breaks pch, bug #601016 + if use pch && ! host-is-pax; then + config+=" --enable-precompiled-headers" + else + config+=" --disable-precompiled-headers" + fi + config+=" --with-parallel-jobs=$(makeopts_jobs)" unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS @@ -310,7 +318,6 @@ src_configure() { $(use_enable doc docs) \ $(use_enable kerberos system-kerberos) \ $(use_with pax_kernel pax "${EPREFIX}/usr/sbin/paxmark.sh") \ - $(use_enable pch precompiled-headers) \ $(use_enable sctp system-sctp) \ $(use_enable smartcard system-pcsc) \ $(use_enable sunec) \