summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/arch')
-rw-r--r--profiles/arch/x86/profile.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/arch/x86/profile.bashrc b/profiles/arch/x86/profile.bashrc
index 421f2459e527..23caf5b851dc 100644
--- a/profiles/arch/x86/profile.bashrc
+++ b/profiles/arch/x86/profile.bashrc
@@ -1,7 +1,7 @@
if [[ ${EBUILD_PHASE} == "setup" ]] ; then
# on x86, -pg requires the frame pointer, so turning it off makes no sense
- if hasq profile ${IUSE} && \
+ if hasq profile ${IUSE} && useq profile && \
hasq -fomit-frame-pointer ${CFLAGS} ${CXXFLAGS}
then
eerror "\nUSE=profile and -fomit-frame-pointer make no sense"