summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/elf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/elf/Makefile')
-rw-r--r--sysdeps/sparc/elf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sparc/elf/Makefile b/sysdeps/sparc/elf/Makefile
new file mode 100644
index 0000000000..319fbdef10
--- /dev/null
+++ b/sysdeps/sparc/elf/Makefile
@@ -0,0 +1,4 @@
+# Sparc/ELF specific definitions.
+
+# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
+ASFLAGS-.so = -fPIC