diff options
author | 2017-04-25 17:09:12 +0200 | |
---|---|---|
committer | 2017-04-25 17:09:12 +0200 | |
commit | 7273e6af546527a7c7e8abad3fb9b1a26e3726ec (patch) | |
tree | fb759e3c7946321bfa88137ecb326a30c836bf0c | |
parent | dev-binpkg/pypy: Bump to 5.7.1 (diff) | |
download | mgorny-7273e6af546527a7c7e8abad3fb9b1a26e3726ec.tar.gz mgorny-7273e6af546527a7c7e8abad3fb9b1a26e3726ec.tar.bz2 mgorny-7273e6af546527a7c7e8abad3fb9b1a26e3726ec.zip |
dev-binpkg/pypy: Disarm -flto
-rw-r--r-- | dev-binpkg/pypy/files/5.7.1-kill-flto.patch | 27 | ||||
-rw-r--r-- | dev-binpkg/pypy/pypy-5.7.1.ebuild | 2 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-binpkg/pypy/files/5.7.1-kill-flto.patch b/dev-binpkg/pypy/files/5.7.1-kill-flto.patch new file mode 100644 index 0000000..92395bd --- /dev/null +++ b/dev-binpkg/pypy/files/5.7.1-kill-flto.patch @@ -0,0 +1,27 @@ +From 261f9280d9736965a8626c2d6a6fadd4254b2b89 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Tue, 25 Apr 2017 17:03:46 +0200 +Subject: [PATCH] Kill -flto + +--- + rpython/translator/platform/posix.py | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/rpython/translator/platform/posix.py b/rpython/translator/platform/posix.py +index a8d4768..20a2934 100644 +--- a/rpython/translator/platform/posix.py ++++ b/rpython/translator/platform/posix.py +@@ -130,10 +130,6 @@ class BasePosix(Platform): + else: + cflags = tuple(self.cflags) + tuple(self.standalone_only) + +- # xxx check which compilers accept this option or not +- if not config or config.translation.gcrootfinder != 'asmgcc': +- cflags = ('-flto',) + cflags +- + m = GnuMakefile(path) + m.exe_name = path.join(exe_name.basename) + m.eci = eci +-- +2.12.2 + diff --git a/dev-binpkg/pypy/pypy-5.7.1.ebuild b/dev-binpkg/pypy/pypy-5.7.1.ebuild index 0c66185..8f5994b 100644 --- a/dev-binpkg/pypy/pypy-5.7.1.ebuild +++ b/dev-binpkg/pypy/pypy-5.7.1.ebuild @@ -101,6 +101,8 @@ pkg_setup() { src_prepare() { eapply "${FILESDIR}"/2.5.0-shared-lib.patch # 517002 + # disarm implicit -flto + eapply "${FILESDIR}"/5.7.1-kill-flto.patch eapply_user } |