Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147275 - sci-libs/fftw-2.1.5-r1 calls is-flag in global scope and generates output there
Summary: sci-libs/fftw-2.1.5-r1 calls is-flag in global scope and generates output there
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: QAglobalscope
Depends on:
Blocks:
 
Reported: 2006-09-12 01:46 UTC by Matthias Schwarzott
Modified: 2006-09-12 13:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Schwarzott gentoo-dev 2006-09-12 01:46:21 UTC
The ebuild sci-libs/fftw-2.1.5-r1 has this code in global-scope:
--cut--
#this one is reported to cause trouble on pentium4 m series
filter-mfpmath "sse"

#here I need (surprise) to increase optimization:
#--enable-i386-hacks requires -fomit-frame-pointer to work properly
if [ "${ARCH}" != "amd64" ]; then
    is-flag "-fomit-frame-pointer" || append-flags "-fomit-frame-pointer"
fi
--cut--

The is-flag call outputs true for my system (even when only scanning ebuilds for emerge -u world).
It should be moved to pkg_setup (or similar).
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-12 13:48:18 UTC
Fixed