summaryrefslogtreecommitdiffhomepage
path: root/vdso/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'vdso/BUILD')
-rw-r--r--vdso/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/vdso/BUILD b/vdso/BUILD
index 9c4bc167e..d13d01cfd 100644
--- a/vdso/BUILD
+++ b/vdso/BUILD
@@ -26,6 +26,9 @@ genrule(
"-O2 " +
"-std=c++11 " +
"-fPIC " +
+ # Some toolchains enable stack protector by default. Disable it, the
+ # VDSO has no hooks to handle failures.
+ "-fno-stack-protector " +
"-fuse-ld=gold " +
"-m64 " +
"-shared " +