mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
@@ -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 " +
|
||||
|
||||
Reference in New Issue
Block a user