From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_compile/building/
Date: Tue, 15 Jun 2021 08:25:28 +0000 (UTC) [thread overview]
Message-ID: <1623745491.dfdaa4e2f10f4b223516b4f4f8608a8f9e479986.ulm@gentoo> (raw)
commit: dfdaa4e2f10f4b223516b4f4f8608a8f9e479986
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 15 08:24:51 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> 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 <ulm <AT> 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}"
}
</codesample>
next reply other threads:[~2021-06-15 8:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-15 8:25 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-08-14 1:43 [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_compile/building/ Sam James
2021-08-01 2:30 Sam James
2021-06-15 8:20 Ulrich Müller
2021-03-29 20:44 Ulrich Müller
2021-01-03 14:18 Ulrich Müller
2014-03-08 14:53 Markos Chandras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1623745491.dfdaa4e2f10f4b223516b4f4f8608a8f9e479986.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox