summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2015-10-04 13:09:30 +0200
committerJoakim Sindholt <opensource@zhasha.com>2015-10-04 13:09:30 +0200
commit9582a56d2e2427ac95c2a667a737c9195c0cff7c (patch)
tree5941ec63dcbc90ffa33fb13654242b93a3056981
parent5609885a9d7a0cd3a36ef9980d762e0eaa18c735 (diff)
build musl with -fstack-protector-all
-rw-r--r--bin/build-libc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-libc.sh b/bin/build-libc.sh
index c5d4358..a6eb22c 100644
--- a/bin/build-libc.sh
+++ b/bin/build-libc.sh
@@ -49,7 +49,7 @@ Linux)
cd "${SRCDIR}/musl" && \
make distclean && \
CC="clang --target=${CLANGARCH} -integrated-as" \
- CFLAGS="-g -Os -pipe -fPIE -ftls-model=local-exec" \
+ CFLAGS="-g -Os -pipe -fPIE -ftls-model=local-exec -fstack-protector-all" \
GNUTARGET="${CLANGARCH}" ./configure \
--target="${MUSLARCH}" \
--prefix="${OBJDIR}" \