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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E0B41382C5 for ; Tue, 15 Jun 2021 08:25:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78C35E0844; Tue, 15 Jun 2021 08:25:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FA1DE0844 for ; Tue, 15 Jun 2021 08:25:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5447A340C9A for ; Tue, 15 Jun 2021 08:25:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDF8D7A0 for ; Tue, 15 Jun 2021 08:25:28 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1623745491.dfdaa4e2f10f4b223516b4f4f8608a8f9e479986.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_compile/building/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/functions/src_compile/building/text.xml X-VCS-Directories: ebuild-writing/functions/src_compile/building/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: dfdaa4e2f10f4b223516b4f4f8608a8f9e479986 X-VCS-Branch: master Date: Tue, 15 Jun 2021 08:25:28 +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: ab3336cb-a66b-416b-aff7-f258dfcadd9e X-Archives-Hash: 32534530edd17b365f4b7bf7f380478c commit: dfdaa4e2f10f4b223516b4f4f8608a8f9e479986 Author: Ulrich Müller gentoo org> AuthorDate: Tue Jun 15 08:24:51 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Jun 15 08:24:51 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=dfdaa4e2 ebuild-writing/functions/src_compile/building: Pass CPPFLAGS to emake Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/functions/src_compile/building/text.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ebuild-writing/functions/src_compile/building/text.xml b/ebuild-writing/functions/src_compile/building/text.xml index c9ca6ed..0f332b9 100644 --- a/ebuild-writing/functions/src_compile/building/text.xml +++ b/ebuild-writing/functions/src_compile/building/text.xml @@ -68,7 +68,10 @@ src_compile() { # -Os not happy replace-flags -Os -O2 - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + emake CC="$(tc-getCC)" \ + CPPFLAGS="${CPPFLAGS}" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" }