summaryrefslogtreecommitdiff
path: root/libstdc++/config
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-05 01:21:14 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-05 01:21:14 +0000
commit8374f4d42aa87cd45b39f9da3450122d9e285ba2 (patch)
tree9c421c2db5471e2aa8082612a7e2da2eb28ce41e /libstdc++/config
parentec7b5e188a28c3b2391c8915866a96c69e174f2f (diff)
downloadgcc-8374f4d42aa87cd45b39f9da3450122d9e285ba2.tar.gz
* configure.in: Support shared libs on FreeBSD 3.x and 4.x
* config/freebsd.ml: A copy of config/linux.ml since they are both ELF and both have a shared libm. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25594 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++/config')
-rw-r--r--libstdc++/config/freebsd.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++/config/freebsd.ml b/libstdc++/config/freebsd.ml
new file mode 100644
index 00000000000..7e6eecee80c
--- /dev/null
+++ b/libstdc++/config/freebsd.ml
@@ -0,0 +1,6 @@
+# Elf with shared libm, so we can link it into the shared libstdc++.
+
+LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink
+SHFLAGS = -Wl,-soname,$(MSHLINK)
+SHDEPS = -lm
+DEPLIBS = ../$(SHLIB)