summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-11-19 17:09:22 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2022-11-19 17:58:30 +0100
commit9703f41aedd0aa5ac5acc05397609d969123c929 (patch)
treed7cf5c1be5acd8eab1071f143e4daf27414146a2 /sci-electronics
parentsci-electronics/puff: Drop explicit linker format option (diff)
downloadgentoo-9703f41aedd0aa5ac5acc05397609d969123c929.tar.gz
gentoo-9703f41aedd0aa5ac5acc05397609d969123c929.tar.bz2
gentoo-9703f41aedd0aa5ac5acc05397609d969123c929.zip
sci-electronics/puff: Filter out -flto
Closes: https://bugs.gentoo.org/862516 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/puff/puff-20181104.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-electronics/puff/puff-20181104.ebuild b/sci-electronics/puff/puff-20181104.ebuild
index ab384b49ccc0..c3e3c633e08d 100644
--- a/sci-electronics/puff/puff-20181104.ebuild
+++ b/sci-electronics/puff/puff-20181104.ebuild
@@ -29,6 +29,8 @@ src_prepare() {
}
src_compile() {
+# # fails to compile with -flto (bug #862516)
+ filter-lto
LDFLAGS="$(raw-ldflags)"
emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)"
}