blob: cf66d2d68f6baf17e138548b9de1acede2e5415b [file] [log] [blame]
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