aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc32/Makefile')
-rw-r--r--sysdeps/sparc/sparc32/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc32/Makefile b/sysdeps/sparc/sparc32/Makefile
index ed4fba7418..6529ad897b 100644
--- a/sysdeps/sparc/sparc32/Makefile
+++ b/sysdeps/sparc/sparc32/Makefile
@@ -20,6 +20,10 @@ ifeq ($(subdir),gnulib)
sysdep_routines = dotmul umul $(divrem) alloca
endif # gnulib
+ifeq ($(subdir),csu)
+CFLAGS-initfini.s += -mcpu=v7
+endif
+
# We distribute these files, even though they are generated,
# so as to avoid the need for a functioning m4 to build the library.
divrem := sdiv udiv rem urem