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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/x86_darwin_host.go b/cc/x86_darwin_host.go
index 1bd3dd05..7f4c4890 100644
--- a/cc/x86_darwin_host.go
+++ b/cc/x86_darwin_host.go
@@ -63,10 +63,10 @@ var (
"-Wl,-rpath,@loader_path/lib64",
}
- darwinClangCflags = append([]string{
+ darwinClangCflags = append(clangFilterUnknownCflags(darwinCflags), []string{
"-integrated-as",
"-fstack-protector-strong",
- }, clangFilterUnknownCflags(darwinCflags)...)
+ }...)
darwinClangLdflags = clangFilterUnknownCflags(darwinLdflags)