diff options
author | Yuta Satoh <nigoro.dev@gmail.com> | 2016-10-04 20:06:21 +0900 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-10-05 14:46:44 +0200 |
commit | 1c778c79ea7e1574ac226a1e57188936b3ae62a3 (patch) | |
tree | 07fb2f18d7e0c3c4f62111689e258adb5ec1b660 /eclass | |
parent | profiles/arch/amd64-fbsd: Drop special CFLAGS for sys-freebsd packages (diff) | |
download | gentoo-1c778c79ea7e1574ac226a1e57188936b3ae62a3.tar.gz gentoo-1c778c79ea7e1574ac226a1e57188936b3ae62a3.tar.bz2 gentoo-1c778c79ea7e1574ac226a1e57188936b3ae62a3.zip |
eclass/freebsd.eclass: Move a special 32bit CFLAGS from profile.
https://bugs.gentoo.org/show_bug.cgi?id=596044
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/freebsd.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass index c5d946417de9..cb03cf63a31a 100644 --- a/eclass/freebsd.eclass +++ b/eclass/freebsd.eclass @@ -206,6 +206,9 @@ freebsd_src_unpack() { export CPP="${WORKDIR}/workaround_clang-cpp/clang-cpp" fi fi + + # Add a special CFLAGS required for multilib support. + use amd64-fbsd && export CFLAGS_x86_fbsd="${CFLAGS_x86_fbsd} -DCOMPAT_32BIT -B/usr/lib32 -L/usr/lib32" } freebsd_src_compile() { |