Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 05 Oct 2016 12:47:01
Message-Id: 1475671604.1c778c79ea7e1574ac226a1e57188936b3ae62a3.aballier@gentoo
1 commit: 1c778c79ea7e1574ac226a1e57188936b3ae62a3
2 Author: Yuta Satoh <nigoro.dev <AT> gmail <DOT> com>
3 AuthorDate: Tue Oct 4 11:06:21 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 5 12:46:44 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c778c79
7
8 eclass/freebsd.eclass: Move a special 32bit CFLAGS from profile.
9
10 https://bugs.gentoo.org/show_bug.cgi?id=596044
11
12 eclass/freebsd.eclass | 3 +++
13 1 file changed, 3 insertions(+)
14
15 diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass
16 index c5d9464..cb03cf6 100644
17 --- a/eclass/freebsd.eclass
18 +++ b/eclass/freebsd.eclass
19 @@ -206,6 +206,9 @@ freebsd_src_unpack() {
20 export CPP="${WORKDIR}/workaround_clang-cpp/clang-cpp"
21 fi
22 fi
23 +
24 + # Add a special CFLAGS required for multilib support.
25 + use amd64-fbsd && export CFLAGS_x86_fbsd="${CFLAGS_x86_fbsd} -DCOMPAT_32BIT -B/usr/lib32 -L/usr/lib32"
26 }
27
28 freebsd_src_compile() {