From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B4C69158020 for ; Tue, 8 Nov 2022 19:50:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD949E09CD; Tue, 8 Nov 2022 19:50:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9B34E09CD for ; Tue, 8 Nov 2022 19:50:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D6D0340D92 for ; Tue, 8 Nov 2022 19:50:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BE12617 for ; Tue, 8 Nov 2022 19:50:36 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1667937025.049fcc7175c1d876b3bdcbe2f0bff8b605edd56c.gyakovlev@gentoo> Subject: [gentoo-commits] proj/cargo-ebuild:master commit in: / X-VCS-Repository: proj/cargo-ebuild X-VCS-Files: cargo-ebuild-template.tera X-VCS-Directories: / X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 049fcc7175c1d876b3bdcbe2f0bff8b605edd56c X-VCS-Branch: master Date: Tue, 8 Nov 2022 19:50:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c1e20733-d470-4f1c-aaa0-adb0d4c6c96e X-Archives-Hash: e45b81d01c78a814426a3095ce732964 commit: 049fcc7175c1d876b3bdcbe2f0bff8b605edd56c Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Nov 8 19:50:25 2022 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Nov 8 19:50:25 2022 +0000 URL: https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=049fcc71 update tera template Signed-off-by: Georgy Yakovlev gentoo.org> cargo-ebuild-template.tera | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cargo-ebuild-template.tera b/cargo-ebuild-template.tera index 029f38c..be605d1 100644 --- a/cargo-ebuild-template.tera +++ b/cargo-ebuild-template.tera @@ -6,6 +6,8 @@ # Auto-Generated by cargo-ebuild {{ cargo_ebuild_ver }} {% endblock %} +inherit {% block inherit -%}cargo flag-o-matic{%- endblock %} + {% set homepage = 'https://github.com/gentoo/cargo-ebuild' %} HOMEPAGE={%- block homepage -%}"{{ homepage }}"{%- endblock %} SRC_URI={%- block src_uri -%}{% raw -%}"https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2 @@ -28,6 +30,7 @@ QA_FLAGS_IGNORED="usr/bin/cargo-ebuild" {% block phases %} src_configure() { + filter-flags '-flto*' # https://bugs.gentoo.org/858332 export LIBGIT2_SYS_USE_PKG_CONFIG=1 LIBSSH2_SYS_USE_PKG_CONFIG=1 PKG_CONFIG_ALLOW_CROSS=1 cargo_src_configure }