aboutsummaryrefslogtreecommitdiffstats
path: root/cc/mips_device.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/mips_device.go')
-rw-r--r--cc/mips_device.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/mips_device.go b/cc/mips_device.go
index d88c9060..cd92eab1 100644
--- a/cc/mips_device.go
+++ b/cc/mips_device.go
@@ -211,6 +211,10 @@ func (t *toolchainMips) ToolchainClangCflags() string {
return t.toolchainClangCflags
}
+func (t *toolchainMips) ClangAsflags() string {
+ return "-fPIC"
+}
+
func (t *toolchainMips) ClangCflags() string {
return t.clangCflags
}