summaryrefslogtreecommitdiff
path: root/libstdc++/config/sunos4.ml
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++/config/sunos4.ml')
-rw-r--r--libstdc++/config/sunos4.ml9
1 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++/config/sunos4.ml b/libstdc++/config/sunos4.ml
new file mode 100644
index 00000000000..0abc13ce0a1
--- /dev/null
+++ b/libstdc++/config/sunos4.ml
@@ -0,0 +1,9 @@
+# SunOS doesn't provide a shared libm, so we have to link with the archive
+# library, even for programs that don't use complex.
+# SunOS requires a version number in shared library filenames.
+
+LIBS = $(ARLIB) $(SHLIB)
+SHFLAGS = $(PICFLAG)
+DEPLIBS = ../$(SHLIB)
+LDLIBS = -L.. -lstdc++ -lm
+MLDLIBS = -L.. -lstdc++ -lm