Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 332368 Details for
Bug 447368
qt4-build.eclass - cpu autodetection and cpu specific flags
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch implementing CPU_FEATURES for all qt4-build based packages
qt4-patch.patch (text/plain), 1.16 KB, created by
Tomasz Mloduchowski
on 2012-12-15 15:30:49 UTC
(
hide
)
Description:
Patch implementing CPU_FEATURES for all qt4-build based packages
Filename:
MIME Type:
Creator:
Tomasz Mloduchowski
Created:
2012-12-15 15:30:49 UTC
Size:
1.16 KB
patch
obsolete
>diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass >index 7589185..44a5f3f 100644 >--- a/eclass/qt4-build.eclass >+++ b/eclass/qt4-build.eclass >@@ -51,6 +51,13 @@ if version_is_at_least 4.8; then > version_is_at_least 4.8.3 || IUSE+=" qpa" > fi > >+IUSE+=" cpudetection" >+ >+# IUSE+=" neon" ## Not tested yet >+# IUSE+=" altivec" ## Not tested yet >+IUSE+=" mmx 3dnow sse sse2 sse3 ssse3 sse4_1 sse4_2 avx" >+ >+ > DEPEND="virtual/pkgconfig" > if [[ ${QT4_BUILD_TYPE} == live ]]; then > DEPEND+=" dev-lang/perl" >@@ -469,6 +476,18 @@ qt4-build_src_configure() { > conf+=" $(pkg-config --cflags-only-I freetype2)" > fi > >+ if ! use cpudetection; then >+ use mmx || conf+=" -no-mmx" >+ use 3dnow || conf+=" -no-3dnow" >+ use sse || conf+=" -no-sse" >+ use sse2 || conf+=" -no-sse2" >+ use sse3 || conf+=" -no-sse3" >+ use ssse3 || conf+=" -no-ssse3" >+ use sse4_1 || conf+=" -no-sse4.1" >+ use sse4_2 || conf+=" -no-sse4.2" >+ use avx || conf+=" -no-avx" >+ fi >+ > conf+=" ${myconf}" > myconf= >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 447368
: 332368 |
332504
|
405586