diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2015-06-08 18:16:57 +0100 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-06-16 11:10:25 +0000 |
commit | cb206adc3d3312088544fb1a7d4e9aa752789da4 (patch) | |
tree | edb45b0c0c94a4c3dae89b13675f3f874f436cbf /strata/build-essential | |
parent | 7cb71771d095a542c7e3aa02a6d1bc181ef3ff23 (diff) | |
download | definitions-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
Diffstat (limited to 'strata/build-essential')
-rw-r--r-- | strata/build-essential/stage1-gcc.morph | 5 |
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 |