aboutsummaryrefslogtreecommitdiffstats
path: root/cc/x86_linux_host.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/x86_linux_host.go')
-rw-r--r--cc/x86_linux_host.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/x86_linux_host.go b/cc/x86_linux_host.go
index 3bf9671a..d1a92f1d 100644
--- a/cc/x86_linux_host.go
+++ b/cc/x86_linux_host.go
@@ -69,6 +69,7 @@ var (
linuxClangCflags = append([]string{
"--gcc-toolchain=${linuxGccRoot}",
"--sysroot=${linuxGccRoot}/sysroot",
+ "-fstack-protector-strong",
}, clangFilterUnknownCflags(linuxCflags)...)
linuxClangLdflags = append([]string{