summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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