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 3548A138330 for ; Tue, 27 Sep 2016 16:44:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C66C7E0BF6; Tue, 27 Sep 2016 16:44:28 +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 ABFC4E0BF6 for ; Tue, 27 Sep 2016 16:44:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 AABFE34067D for ; Tue, 27 Sep 2016 16:44:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6188248B for ; Tue, 27 Sep 2016 16:44:24 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1474994640.b225c397c78dc425644d9a4d76344a517ee7f106.grknight@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: eclass/ X-VCS-Repository: proj/mysql X-VCS-Files: eclass/mysql-multilib-r1.eclass X-VCS-Directories: eclass/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: b225c397c78dc425644d9a4d76344a517ee7f106 X-VCS-Branch: master Date: Tue, 27 Sep 2016 16:44:24 +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: e11ea8a6-f978-4284-95c6-c784471e439d X-Archives-Hash: 617d9856209e3e2853c84d8151ef7814 commit: b225c397c78dc425644d9a4d76344a517ee7f106 Author: Mike Frysinger gentoo org> AuthorDate: Sun Jun 12 03:09:25 2016 +0000 Commit: Brian Evans gentoo org> CommitDate: Tue Sep 27 16:44:00 2016 +0000 URL: https://gitweb.gentoo.org/proj/mysql.git/commit/?id=b225c397 mysql-cmake/mysql-multilib eclasses: set STACK_DIRECTION to fix cross-compiles eclass/mysql-multilib-r1.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/mysql-multilib-r1.eclass b/eclass/mysql-multilib-r1.eclass index 40ef8f5..858b9b6 100644 --- a/eclass/mysql-multilib-r1.eclass +++ b/eclass/mysql-multilib-r1.eclass @@ -401,6 +401,9 @@ multilib_src_configure() { -DWITH_DEFAULT_FEATURE_SET=0 -DINSTALL_SYSTEMD_UNITDIR="$(systemd_get_systemunitdir)" -DENABLE_STATIC_LIBS=$(usex static-libs) + # The build forces this to be defined when cross-compiling. We pass it + # all the time for simplicity and to make sure it is actually correct. + -DSTACK_DIRECTION=$(tc-stack-grows-down && echo -1 || echo 1) ) if use test ; then