Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130450 - USE="mmx -sse" when emerging evas-9999 disables MMX
Summary: USE="mmx -sse" when emerging evas-9999 disables MMX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 03:14 UTC by Artem Egorkine
Modified: 2006-04-19 15:31 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 Artem Egorkine 2006-04-19 03:14:21 UTC
In evas-9999.ebuild there is:

export MY_ECONF="
                ...
		$(use_enable mmx cpu-mmx) \
		$(use_enable sse cpu-mmx) \
		$(use_enable sse cpu-sse) \
                ...
                "

which, given USE="mmx -sse", will expand to

export MY_ECONF="... --enable-cpu-mmx --disable-cpu-mmx --disable-cpu-sse ..."

which will effectively disable mmx.

A fix might be to sed '--disable-cpu-mmx' out if it is following '--enable-cpu-mmx', or maybe not to make any assumptions if the USE flags are "-mmx sse" and drop "$(use_enable sse cpu-mmx)" ...
Comment 1 SpanKY gentoo-dev 2006-04-19 15:31:57 UTC
this was on purpose as evas used to have problems building with only one or the other feature enabled

seems this has been sorted out now though so dropping the use_enable should be fine