From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-985629-garchives=archives.gentoo.org@lists.gentoo.org>
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 98295139083
	for <garchives@archives.gentoo.org>; Thu, 23 Nov 2017 18:18:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C0F15E0BF0;
	Thu, 23 Nov 2017 18:18:18 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9E7F0E0BF0
	for <gentoo-commits@lists.gentoo.org>; Thu, 23 Nov 2017 18:18:18 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B607033BF43
	for <gentoo-commits@lists.gentoo.org>; Thu, 23 Nov 2017 18:18:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 58D01A4FF
	for <gentoo-commits@lists.gentoo.org>; Thu, 23 Nov 2017 18:18:16 +0000 (UTC)
From: "Steve Arnold" <nerdboy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Steve Arnold" <nerdboy@gentoo.org>
Message-ID: <1511460929.5a64f6df999643d6631b3d9cca71f6d70f048226.nerdboy@gentoo>
Subject: [gentoo-commits] proj/crossdev:master commit in: /
X-VCS-Repository: proj/crossdev
X-VCS-Files: crossdev
X-VCS-Directories: /
X-VCS-Committer: nerdboy
X-VCS-Committer-Name: Steve Arnold
X-VCS-Revision: 5a64f6df999643d6631b3d9cca71f6d70f048226
X-VCS-Branch: master
Date: Thu, 23 Nov 2017 18:18:16 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: f68467ac-f93c-4b1b-850d-92ff71093f6b
X-Archives-Hash: e67cc399184be191733acd465d21bd33

commit:     5a64f6df999643d6631b3d9cca71f6d70f048226
Author:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 23 18:12:59 2017 +0000
Commit:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Thu Nov 23 18:15:29 2017 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=5a64f6df

crossdev: force USE=-pie for cross-avr toolchain

Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>

 crossdev | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/crossdev b/crossdev
index 2d937d1..3df7f27 100755
--- a/crossdev
+++ b/crossdev
@@ -69,7 +69,7 @@ Options:
 Overlay Options:
     ${GOOD}-oS, --overlays${NORMAL} list     Space delimited list of overlays to search
                                 [default: \`portageq repositories_configuration\`]
-    ${GOOD}-oO, --ov-output${NORMAL} path    Overlay to write crossdev package links
+    ${GOOD}-oO, --ov-output${NORMAL} path    Parent directory of overlay to write crossdev package links
                                 [default: uses repo with name 'crossdev', or
                                  'cross-\${CTARGET}', or falls back to first
                                  from --overlays list]
@@ -1043,8 +1043,8 @@ set_portage() {
 	case ${CTARGET} in
 		# avr requires multilib, that provides
 		# libgcc for all sub-architectures #378387
-		avr*)   set_use_force ${pkg} multilib;
-			set_use_mask ${pkg} -multilib;;
+		avr*)   set_use_force ${pkg} multilib -pie;
+			set_use_mask ${pkg} -multilib pie;;
 		*)      set_use_force ${pkg} -multilib;;
 	esac