diff options
Diffstat (limited to 'profiles/prefix/linux/x86/profile.bashrc')
-rw-r--r-- | profiles/prefix/linux/x86/profile.bashrc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/profiles/prefix/linux/x86/profile.bashrc b/profiles/prefix/linux/x86/profile.bashrc new file mode 100644 index 000000000000..5e3242d8ff41 --- /dev/null +++ b/profiles/prefix/linux/x86/profile.bashrc @@ -0,0 +1,12 @@ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 + +# When x86-linux runs on an amd64 host having /lib32, +# we need to have binutils to search there too (#360197). +# The patches to do so are applied upon SYMLINK_LIB=yes, +# needed when /lib32 is (a symlink to) an existing directory. +if [[ ${CATEGORY}/${PN} = sys-devel/binutils ]] \ +&& [[ ${EBUILD_PHASE} == setup ]] \ +&& [[ -d ${ROOT}lib32/. ]] \ +; then + export SYMLINK_LIB=yes +fi |