]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in: Add shared library support for the Hurd (*-*-gnu*).
authorMark Kettenis <kettenis@gnu.org>
Sat, 15 May 1999 02:06:37 +0000 (02:06 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 15 May 1999 02:06:37 +0000 (20:06 -0600)
        * configure.in: Add shared library support for the Hurd
        (*-*-gnu*).
        * config/gnu.ml: New file.

From-SVN: r26942

libstdc++/ChangeLog
libstdc++/config/gnu.ml [new file with mode: 0644]
libstdc++/configure.in

index 731a4404a2e7bebebd85988c5279ffcb4de4be49..f6fa7dd383808e21e920087064a32b4b01601295 100644 (file)
@@ -1,3 +1,9 @@
+1999-05-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in: Add shared library support for the Hurd
+       (*-*-gnu*).
+       * config/gnu.ml: New file.
+
 1999-05-12  Jason Merrill  <jason@yorick.cygnus.com>
 
        * configure.in (compiler_name): Don't do the skip-this-dir thing
diff --git a/libstdc++/config/gnu.ml b/libstdc++/config/gnu.ml
new file mode 100644 (file)
index 0000000..2a03803
--- /dev/null
@@ -0,0 +1,6 @@
+# Elf with shared libm, so we can link it into the shared libstdc++.
+
+LIBS    = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK)
+SHFLAGS = -Wl,-soname,$(SHLIB)
+SHDEPS  = -lm
+DEPLIBS = ../$(SHLIB)
index c0c701398f1017acb9002b62ec3c27880ede8ed8..8262565bd8809e7a711da0784cece229739f6baf 100644 (file)
@@ -92,6 +92,7 @@ if [ "${shared}" = "yes" ]; then
     *-*-sunos4*)       frags="${frags} sunos4.ml" ;;
     *-*-aix*)          frags="${frags} aix.ml" ;;
     i[3456]86-*-interix*)      frags="${frags} x86-interix.ml" ;;
+    *-*-gnu*)          frags="${frags} gnu.ml" ;;
   esac
 fi