summaryrefslogtreecommitdiff
blob: 324aead551aed2074d09b109674ec012c225860a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Prefix' Solaris uses GNU ld

--- a/aclocal.m4
+++ b/aclocal.m4
@@ -415,7 +415,7 @@
 	    aix*)
 		    ;;
 
-	    freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*)
+	    freebsd*|solaris*|netbsd*|openbsd*|dragonfly*|linux*|osf*)
 	    	    #
 		    # Platforms where the linker is the GNU linker
 		    # or accepts command-line arguments like
@@ -429,10 +429,10 @@
 		    PIC_OPT=-fpic
 		    case "$host_cpu" in
 
-		    sparc64*)
+		    sparc64*|sparcv9*)
 			case "$host_os" in
 
-			freebsd*|openbsd*)
+			freebsd*|solaris*|openbsd*)
 			    PIC_OPT=-fPIC
 			    ;;
 			esac
@@ -497,7 +497,7 @@
 		    V_SHLIB_OPT="-G -bnoentry -bexpall"
 		    ;;
 
-	    freebsd*|netbsd*|openbsd*|dragonfly*|linux*)
+	    freebsd*|solaris*|netbsd*|openbsd*|dragonfly*|linux*)
 		    #
 		    # "cc" is GCC.
 		    #