Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 402256 Details for
Bug 548200
dev-util/mingw64-runtime: Add support for winpthread via USE=threads
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mingw64-runtime-3.2.0-r1.ebuild.diff
mingw64-runtime-3.2.0-r1.ebuild.diff (text/plain), 1.35 KB, created by
Bertrand Jacquin
on 2015-04-30 01:07:30 UTC
(
hide
)
Description:
mingw64-runtime-3.2.0-r1.ebuild.diff
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2015-04-30 01:07:30 UTC
Size:
1.35 KB
patch
obsolete
>--- dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild 2015-02-27 08:31:09.000000000 +0000 >+++ dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild 2015-04-30 02:03:17.000000000 +0100 >@@ -21,7 +21,7 @@ > LICENSE="BSD" > SLOT="0" > KEYWORDS="~amd64 ~x86" >-IUSE="crosscompile_opts_headers-only idl" >+IUSE="crosscompile_opts_headers-only idl threads" > RESTRICT="strip" > > S="${WORKDIR}/mingw-w64-v${PV}" >@@ -62,11 +62,41 @@ > --enable-sdk \ > $(use_enable idl) \ > "${extra_conf[@]}" >+ >+ if use threads && ! just_headers ; then >+ pushd mingw-w64-libraries/winpthreads >&/dev/null || die >+ # Use crt{begin,end}.o from the WORKDIR >+ _oLDFLAGS="${LDFLAGS}" >+ append-ldflags "-Wc,-B${S}/mingw-w64-crt/lib64" >+ >+ CHOST=${CTARGET} econf \ >+ --prefix=/usr/${CTARGET} \ >+ --includedir=/usr/${CTARGET}/usr/include >+ >+ LDFLAGS="${_oLDFLAGS}" >+ popd >&/dev/null || die >+ fi >+} >+ >+src_compile() { >+ default >+ >+ if use threads && ! just_headers ; then >+ pushd mingw-w64-libraries/winpthreads >&/dev/null || die >+ default >+ popd >&/dev/null || die >+ fi > } > > src_install() { > default > >+ if use threads && ! just_headers ; then >+ pushd mingw-w64-libraries/winpthreads >&/dev/null || die >+ default >+ popd >&/dev/null || die >+ fi >+ > if is_crosscompile ; then > # gcc is configured to look at specific hard-coded paths for mingw #419601 > dosym usr /usr/${CTARGET}/mingw
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 548200
:
402254
|
402256