aboutsummaryrefslogtreecommitdiffstats
path: root/cc/x86_darwin_host.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/x86_darwin_host.go')
-rw-r--r--cc/x86_darwin_host.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/x86_darwin_host.go b/cc/x86_darwin_host.go
index e497e5c9..1bd3dd05 100644
--- a/cc/x86_darwin_host.go
+++ b/cc/x86_darwin_host.go
@@ -65,6 +65,7 @@ var (
darwinClangCflags = append([]string{
"-integrated-as",
+ "-fstack-protector-strong",
}, clangFilterUnknownCflags(darwinCflags)...)
darwinClangLdflags = clangFilterUnknownCflags(darwinLdflags)