Disable stack protector in VDSO build

The VDSO has no hooks to handle stack protector failures.

Fixes #9

PiperOrigin-RevId: 195460989
Change-Id: Idf1d55bfee1126e551d7274b7f484e03bf440427
This commit is contained in:
Michael Pratt
2018-05-04 13:15:51 -07:00
committed by Shentubot
parent f94d90073f
commit 7bb10dc7a0
+3
View File
@@ -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 " +