commit: d8066eee52eddd73dee6f1d16fbce0d124701baa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 09:55:09 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 29 20:41:36 2021 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d8066eee
ebuild-writing/functions/src_compile/building: note that the delimiter is OK
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
ebuild-writing/functions/src_compile/building/text.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebuild-writing/functions/src_compile/building/text.xml
b/ebuild-writing/functions/src_compile/building/text.xml
index 696dacf..fcde02e 100644
--- a/ebuild-writing/functions/src_compile/building/text.xml
+++ b/ebuild-writing/functions/src_compile/building/text.xml
@@ -59,7 +59,7 @@ src_prepare() {
# We have a weird Makefile to work with which ignores our
# compiler preferences. yay!
- # Note the single quotes.
+ # Note the single quotes (hence the delimiter is not an issue)
sed -i -e 's:cc -O2:$(CC) $(CFLAGS) $(LDFLAGS):' Makefile \
|| die "sed fix failed. Uh-oh..."
}