aboutsummaryrefslogtreecommitdiff
path: root/libstdc++/config/elf.ml
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++/config/elf.ml')
-rw-r--r--libstdc++/config/elf.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++/config/elf.ml b/libstdc++/config/elf.ml
new file mode 100644
index 00000000000..2a5f336fe5e
--- /dev/null
+++ b/libstdc++/config/elf.ml
@@ -0,0 +1,8 @@
+# Elf without shared libm -- we have to link with the archive library, even
+# for programs that don't use complex.
+
+LIBS = $(ARLIB) $(SHLIB) $(SHLINK)
+SHFLAGS = -h $(SHLIB)
+DEPLIBS = ../$(SHLIB)
+LDLIBS = -L.. -lstdc++ -lm
+MLDLIBS = -L.. -lstdc++ -lm