diff options
Diffstat (limited to 'profiles/prefix/aix/profile.bashrc')
-rw-r--r-- | profiles/prefix/aix/profile.bashrc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/profiles/prefix/aix/profile.bashrc b/profiles/prefix/aix/profile.bashrc new file mode 100644 index 000000000000..b596fc8dda1d --- /dev/null +++ b/profiles/prefix/aix/profile.bashrc @@ -0,0 +1,14 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# never use /bin/sh as CONFIG_SHELL on AIX: it is ways too slow, +# as well as broken in some corner cases. +export CONFIG_SHELL=${BASH} + +if [[ ${EBUILD_PHASE} == setup ]] ; then + if [[ ${CATEGORY}/${P} == app-arch/tar-1.29* ]] ; then + # for distinct EEXIST and ENOTEMPTY, + # https://savannah.gnu.org/patch/?9284 + [[ " ${CPPFLAGS} " == *" -D_LINUX_SOURCE_COMPAT "* ]] || CPPFLAGS="-D_LINUX_SOURCE_COMPAT ${CPPFLAGS}" + fi +fi |