|
Lines 86-104
Link Here
|
| 86 |
if use hardened; then |
86 |
if use hardened; then |
| 87 |
ewarn "hardened use flag suppressing mmx use flag" |
87 |
ewarn "hardened use flag suppressing mmx use flag" |
| 88 |
HARDENED_SUPPRESS_MMX="--disable-mmx" |
88 |
HARDENED_SUPPRESS_MMX="--disable-mmx" |
| 89 |
else |
89 |
elif use x86; then |
| 90 |
HARDENED_SUPPRESS_MMX="`use_enable mmx`" |
90 |
HARDENED_SUPPRESS_MMX="`use_enable mmx`" |
|
|
91 |
elif use amd64; then |
| 92 |
HARDENED_SUPPRESS_MMX="--enable-mmx" |
| 91 |
fi |
93 |
fi |
| 92 |
|
94 |
|
| 93 |
local myconf |
95 |
local myconf |
| 94 |
use doc || myconf="${myconf} --disable-devel-docs" |
96 |
use doc || myconf="${myconf} --disable-devel-docs" |
|
|
97 |
if use x86; then |
| 98 |
myconf="${myconf} `use_enable sse`" |
| 99 |
elif use amd64; then |
| 100 |
myconf="${myconf} --enable-sse" |
| 101 |
fi |
| 95 |
|
102 |
|
| 96 |
econf \ |
103 |
econf \ |
| 97 |
--disable-default-binary \ |
104 |
--disable-default-binary \ |
| 98 |
--with-x \ |
105 |
--with-x \ |
| 99 |
"${HARDENED_SUPPRESS_MMX}" \ |
106 |
"${HARDENED_SUPPRESS_MMX}" \ |
| 100 |
${myconf} \ |
107 |
"${myconf}" \ |
| 101 |
`use_enable sse` \ |
|
|
| 102 |
`use_enable altivec` \ |
108 |
`use_enable altivec` \ |
| 103 |
`use_enable doc gtk-doc` \ |
109 |
`use_enable doc gtk-doc` \ |
| 104 |
`use_enable python` \ |
110 |
`use_enable python` \ |