Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_compile/building/
Date: Mon, 29 Mar 2021 20:44:09
Message-Id: 1617050496.d8066eee52eddd73dee6f1d16fbce0d124701baa.ulm@gentoo
1 commit: d8066eee52eddd73dee6f1d16fbce0d124701baa
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 20 09:55:09 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 29 20:41:36 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d8066eee
7
8 ebuild-writing/functions/src_compile/building: note that the delimiter is OK
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 ebuild-writing/functions/src_compile/building/text.xml | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/ebuild-writing/functions/src_compile/building/text.xml b/ebuild-writing/functions/src_compile/building/text.xml
17 index 696dacf..fcde02e 100644
18 --- a/ebuild-writing/functions/src_compile/building/text.xml
19 +++ b/ebuild-writing/functions/src_compile/building/text.xml
20 @@ -59,7 +59,7 @@ src_prepare() {
21
22 # We have a weird Makefile to work with which ignores our
23 # compiler preferences. yay!
24 - # Note the single quotes.
25 + # Note the single quotes (hence the delimiter is not an issue)
26 sed -i -e 's:cc -O2:$(CC) $(CFLAGS) $(LDFLAGS):' Makefile \
27 || die "sed fix failed. Uh-oh..."
28 }