blob: cf66d2d68f6baf17e138548b9de1acede2e5415b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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
|