From ecd1aab5266315f947b0568cb56fab4f63453c83 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 5 Jun 2000 08:46:59 +0000 Subject: 2000-06-05 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index a6e26f3ed2..71aaa29ed4 100644 --- a/configure.in +++ b/configure.in @@ -425,6 +425,7 @@ if test "$with_dln_a_out" != yes; then netbsd*) CCDLFLAGS=-fpic case "$target_cpu" in mips*) CCDLFLAGS=-fPIC ;; + sparc) CCDLFLAGS=-fPIC ;; *) ;; esac ;; *) CCDLFLAGS=-fPIC;; @@ -432,7 +433,7 @@ if test "$with_dln_a_out" != yes; then else case "$target_os" in hpux*) CCDLFLAGS='+z';; - solaris*|irix*) CCDLFLAGS='-K PIC' ;; + solaris*|irix*) CCDLFLAGS='-KPIC' ;; sunos*) CCDLFLAGS='-PIC' ;; esix*|uxpds*) CCDLFLAGS='-KPIC' ;; *) CCDLFLAGS='' ;; @@ -453,7 +454,7 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes;; sunos*) LDSHARED='ld -assert nodefinitions' rb_cv_dlopen=yes;; - irix*) LDSHARED='ld -ignore_unresolved' + irix*) LDSHARED='ld -shared' rb_cv_dlopen=yes;; sysv4*) LDSHARED='ld -G' rb_cv_dlopen=yes;; -- cgit v1.2.3