Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 764322 Details for
Bug 832677
sys-libs/libucontext: Build does not contain weak / unprefixed symbols
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
EBUILD: Specify CFLAGS before emake to prevent the Makefile's logic from being overridden
libucontext-1.1-r1.ebuild (text/plain), 1.11 KB, created by
Andrew Athalye
on 2022-02-04 14:26:48 UTC
(
hide
)
Description:
EBUILD: Specify CFLAGS before emake to prevent the Makefile's logic from being overridden
Filename:
MIME Type:
Creator:
Andrew Athalye
Created:
2022-02-04 14:26:48 UTC
Size:
1.11 KB
patch
obsolete
># Copyright 1999-2021 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=8 > >inherit toolchain-funcs > >DESCRIPTION="ucontext implementation featuring glibc-compatible ABI" >HOMEPAGE="https://github.com/kaniini/libucontext" >SRC_URI="https://github.com/kaniini/libucontext/archive/refs/tags/${P}.tar.gz" >S="${WORKDIR}"/${PN}-${P} > >LICENSE="ISC" >SLOT="0" >KEYWORDS="~amd64" >IUSE="+man" > >BDEPEND="man? ( app-text/scdoc )" > ># segfault needs investigation >RESTRICT="test" > >PATCHES=( > "${FILESDIR}"/${PN}-1.1-set-cflags-if-unset.patch >) > >src_compile() { > tc-export AR CC > > local arch > > # Override arch detection > # https://github.com/kaniini/libucontext/blob/master/Makefile#L3 > if use x86 ; then > arch="x86" > elif use arm ; then > arch="arm" > elif use arm64 ; then > arch="aarch64" > elif use ppc64 ; then > arch="ppc64" > else > arch="$(uname -m)" > fi > > CFLAGS="${CFLAGS}" emake ARCH="${arch}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs') >} > >src_test() { > emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" check >} > >src_install() { > emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install $(usev man 'install_docs') >}
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 Raw
Actions:
View
Attachments on
bug 832677
:
764312
|
764319
| 764322