Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36154 Details for
Bug 58341
Enhancement for sys-libs/zlib-1.2.1-r2 (adding asm optimisations for x86)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
zlib-1.2.1-r2.ebuild.diff
zlib-1.2.1-r2.ebuild.diff (text/plain), 1.37 KB, created by
Stefan Briesenick (RETIRED)
on 2004-07-25 16:50:17 UTC
(
hide
)
Description:
zlib-1.2.1-r2.ebuild.diff
Filename:
MIME Type:
Creator:
Stefan Briesenick (RETIRED)
Created:
2004-07-25 16:50:17 UTC
Size:
1.37 KB
patch
obsolete
>--- /usr/portage/sys-libs/zlib/zlib-1.2.1-r2.ebuild 2004-07-22 07:10:21.000000000 +0200 >+++ zlib-1.2.1-r2.ebuild 2004-07-26 01:39:48.000000000 +0200 >@@ -11,7 +11,7 @@ > LICENSE="ZLIB" > SLOT="0" > KEYWORDS="x86 ~ppc sparc mips alpha arm hppa amd64 ~ia64 ~ppc64 s390" >-IUSE="build" >+IUSE="build asm" > > DEPEND="virtual/libc" > >@@ -30,12 +30,39 @@ > } > > src_compile() { >+ >+ local myflags="" >+ if use asm # using asm optimisations >+ then >+ if use x86 # only for x86 >+ then >+ local myarch="$(uname -m)" >+ case "$myarch" in >+ i[56]86) >+ append-flags -DASMV >+ replace-flags "-Os" "-O3" >+ replace-flags "-O1" "-O3" >+ replace-flags "-O2" "-O3" >+ cp contrib/asm${myarch/i/}/* . >+ epatch ${FILESDIR}/${P}-asm.patch >+ einfo "Using ${myarch} assembler optimisation..." >+ myflags="OBJA=match.o" >+ ;; >+ *) >+ ewarn "No assembler optimisation available for this architecture!" >+ ;; >+ esac >+ else >+ ewarn "No assembler optimisation available for this architecture!" >+ fi >+ fi >+ > ./configure --shared --prefix=/usr --libdir=/lib || die >- emake || die >+ emake $myflags || die > make test || die > > ./configure --prefix=/usr --libdir=/lib || die >- emake || die >+ emake $myflags || die > } > > src_install() { >@@ -48,7 +75,7 @@ > > if ! use build ; then > doman zlib.3 >- dodoc FAQ README ChangeLog >+ dodoc ChangeLog FAQ README* > docinto txt > dodoc algorithm.txt > fi
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 58341
:
36153
| 36154 |
36155