Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 513696 Details for
Bug 486992
app-emulation/simh-3.9.0-r1 does not respect CFLAGS / LDFLAGS - automagically sets -flto -fwhole-program
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild with lto fix.
simh-3.9.0-r10.ebuild (text/plain), 1.59 KB, created by
Nico Baggus
on 2018-01-07 20:08:17 UTC
(
hide
)
Description:
ebuild with lto fix.
Filename:
MIME Type:
Creator:
Nico Baggus
Created:
2018-01-07 20:08:17 UTC
Size:
1.59 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=4 > >inherit eutils toolchain-funcs versionator > >MY_P="${PN}v$(get_version_component_range 1)$(get_version_component_range 2)-$(get_version_component_range 3)" >MY_PB="${PN}v$(get_version_component_range 1)$(get_version_component_range 2)-$(get_version_component_range 3)-beta" >DESCRIPTION="a simulator for historical computers such as Vax, PDP-11 etc.)" >HOMEPAGE="http://simh.trailing-edge.com/" >SRC_URI="http://simh.trailing-edge.com/sources/${MY_P}.zip > beta? ( http://simh.trailing-edge.com/sources/${MY_PB}.zip ) " > >LICENSE="MIT" >SLOT="0" >KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" >IUSE="beta" > > >RDEPEND="net-libs/libpcap" >DEPEND="${RDEPEND} > app-arch/unzip" > >S=${WORKDIR} > >src_prepare() { > # convert makefile from dos format to unix format > edos2unix makefile > > epatch "${FILESDIR}"/${P}-respect-FLAGS.patch \ > "${FILESDIR}"/${P}-fix-mkdir-race.patch > if use beta ; then > cp ${FILESDIR}/${P}-makefile-beta ${W}/makefile > fi > # fix linking on Darwin > if [[ ${CHOST} == *-darwin* ]] ; then > sed -e 's/-lrt//g' \ > -i makefile || die > fi >} > >src_compile() { > export GCC="$(tc-getCC)" > export LDFLAGS_O="${LDFLAGS}" > export CFLAGS_O="${CFLAGS}" > > local my_makeopts="USE_NETWORK=1" > if [ "$(gcc-major-version)" -le "4" -a "$(gcc-minor-version)" -lt "6" ] ; then > my_makeopts+=" NO_LTO=1" > fi > > emake ${my_makeopts} >} > >src_install() { > for BINFILE in BIN/* ; do > newbin ${BINFILE} "simh-$(basename ${BINFILE})" > done > > insinto /usr/share/simh > doins VAX/*.bin > > dodoc *.txt */*.txt >}
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 486992
: 513696