etc-gentoo/paludis/hooks/gold.bash

8 lines
155 B
Bash

#!/bin/bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
if [[ $(ld --version) =~ "gold" ]] ; then
ewarn \033[1;31mld gold is in use!!\033[0m"
fi