summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/Makefile')
-rw-r--r--sysdeps/sparc/sparc64/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc64/Makefile b/sysdeps/sparc/sparc64/Makefile
index 2b7b83035a..8f8a36da45 100644
--- a/sysdeps/sparc/sparc64/Makefile
+++ b/sysdeps/sparc/sparc64/Makefile
@@ -15,3 +15,6 @@ ASFLAGS-.og += -Wa,-Av9d
ASFLAGS-.ob += -Wa,-Av9d
ASFLAGS-.oS += -Wa,-Av9d
endif
+
+# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
+ASFLAGS-.os = -fPIC