OSDN Git Service

* Makefile.in (distclean): When cleaning, remove testsuite.
[pf3gnuchains/gcc-fork.git] / ltcf-cxx.sh
index cefa008..fbcf248 100644 (file)
@@ -167,11 +167,15 @@ case "$host_os" in
         ;;
     esac
     ;;
-  freebsd*)
-    # FreeBSD uses GNU C++ and GNU ld
-    # FIXME: insert proper C++ library support
+  freebsd[12]*)
+    # C++ shared libraries reported to be fairly broken before switch to ELF
     ld_shlibs=no
     ;;
+  freebsd*)
+    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+    # conventions
+    ld_shlibs=yes
+    ;;
   hpux*)
     case "$cc_basename" in
       CC)