summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2015-06-08 18:16:57 +0100
committerBaserock Gerrit <gerrit@baserock.org>2015-06-16 11:10:25 +0000
commitcb206adc3d3312088544fb1a7d4e9aa752789da4 (patch)
treeedb45b0c0c94a4c3dae89b13675f3f874f436cbf
parent7cb71771d095a542c7e3aa02a6d1bc181ef3ff23 (diff)
downloaddefinitions-cb206adc3d3312088544fb1a7d4e9aa752789da4.tar.gz
Fix 'sed' invocation to work with BSD 'sed'
The BSD 'sed' used on Mac OS X is a bit rubbish compared with GNU 'sed'. Change-Id: Ic26878301b49099252b04d8a0854e551c352ad54
-rw-r--r--strata/build-essential/stage1-gcc.morph5
1 files changed, 4 insertions, 1 deletions
diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph
index f76b0cc6..6418ed6a 100644
--- a/strata/build-essential/stage1-gcc.morph
+++ b/strata/build-essential/stage1-gcc.morph
@@ -3,7 +3,10 @@ kind: chunk
configure-commands:
# Workaround from LFS due GCC not detecting stack protection correctly
-- sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure
+- |
+ sed -i -e '/k prot/a \
+ gcc_cv_libc_provides_ssp=yes
+ ' gcc/configure
- mkdir o