summaryrefslogtreecommitdiff
path: root/ports/sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile')
-rw-r--r--ports/sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile b/ports/sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile
new file mode 100644
index 000000000..1c17ea168
--- /dev/null
+++ b/ports/sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile
@@ -0,0 +1,11 @@
+# This flag is necessary because GCC now tries to call _Q_{mul, etc...}
+# instead of doing the stuff the hard way. For now, printf_fp.o, __vfscanf.o,
+# and difftime.o don't work because of this. The long-term fix is to actually
+# implement what they're doing, but for the short-term, we must do this.
+sysdep-CFLAGS := $(sysdep-CFLAGS) -mhard-quad-float
+
+ifeq ($(subdir),crypt)
+
+crypt := crypt.solar
+
+endif