You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/profiles/arch/x86/profile.bashrc

13 lines
393 B

if [[ ${EBUILD_PHASE} == "setup" ]] ; then
# on x86, -pg requires the frame pointer, so turning it off makes no sense
if has profile ${IUSE} && use profile && \
has -fomit-frame-pointer ${CFLAGS} ${CXXFLAGS}
then
eerror "\nUSE=profile and -fomit-frame-pointer make no sense"
eerror "Fix your build settings to avoid build failures\n"
[[ -z ${EPAUSE_IGNORE} ]] && sleep 5
fi
fi