Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
mjpegtools
> mjpegtools-cpuinfo.patch.old
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mjpegtools-cpuinfo.patch.old of Package mjpegtools
--- cpuinfo.sh +++ cpuinfo.sh @@ -85,6 +85,7 @@ _sse=no _sse2=no _mtrr=no +_longmode=no for i in $pparam ; do case "$i" in @@ -95,6 +96,7 @@ mtrr|k6_mtrr|cyrix_arr) _mtrr=yes ;; xmm|sse|kni) _sse=yes _mmx2=yes ;; sse2) _sse2=yes ;; + lm) _longmode=yes ;; esac done @@ -164,7 +166,12 @@ proc=i686 fi ;; - 15) proc=pentium4 + 15) + if test "$_longmode" = yes ; then + proc=k8 + else + proc=pentium4 + fi ;; *) proc=pentium4 ;;