diff options
author | Tom Yu <tlyu@mit.edu> | 2004-02-18 20:43:59 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2004-02-18 20:43:59 +0000 |
commit | 6f0262649d900b1d5fb336c52062a43beb1192b0 (patch) | |
tree | c40bebbbaac059c16ea2a71e80c89d0a9001dbc1 /src/config | |
parent | 6cbd7c37eaeb39633ef43e8136937185ed17d2d5 (diff) | |
download | krb5-6f0262649d900b1d5fb336c52062a43beb1192b0.tar.gz krb5-6f0262649d900b1d5fb336c52062a43beb1192b0.tar.xz krb5-6f0262649d900b1d5fb336c52062a43beb1192b0.zip |
use $(CC) rather than ld to build shared libs on tru64 and irix
* shlib.conf (alpha-*-dec-osf*, mips-sgi-irix*): Use $(CC) instead
of ld for building shared libraries.
ticket: new
component: krb5-build
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16097 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/ChangeLog | 5 | ||||
-rw-r--r-- | src/config/shlib.conf | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 778d89e3da..2b0ff32d43 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2004-02-18 Tom Yu <tlyu@mit.edu> + + * shlib.conf (alpha-*-dec-osf*, mips-sgi-irix*): Use $(CC) instead + of ld for building shared libraries. + 2004-02-12 Tom Yu <tlyu@mit.edu> * shlib.conf (*-*-solaris-*): Remove exitsleep. diff --git a/src/config/shlib.conf b/src/config/shlib.conf index ed41bd8fce..27aa9ed0c3 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -25,7 +25,7 @@ alpha*-dec-osf*) SHLIBEXT=.so # Alpha OSF/1 doesn't need separate PIC objects SHOBJEXT=.o - LDCOMBINE='ld -shared -expect_unresolved \* -update_registry $(BUILDTOP)/so_locations -soname lib$(LIB)$(SHLIBSEXT)' + LDCOMBINE='$(CC) -shared -Wl,-expect_unresolved -Wl,\* -Wl,-update_registry -Wl,$(BUILDTOP)/so_locations -Wl,-soname -Wl,lib$(LIB)$(SHLIBSEXT)' SHLIB_EXPFLAGS='-rpath $(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)' PROFFLAGS=-pg RPATH_FLAG='-Wl,-rpath -Wl,' @@ -118,7 +118,7 @@ mips-sgi-irix*) SHLIBSEXT='.so.$(LIBMAJOR)' SHLIBEXT=.so SHOBJEXT=.o - LDCOMBINE='ld -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations -soname lib$(LIB)$(SHLIBSEXT)' + LDCOMBINE='$(CC) -shared -Wl,-ignore_unresolved -Wl,-update_registry -Wl,$(BUILDTOP)/so_locations -Wl,-soname -Wl,lib$(LIB)$(SHLIBSEXT)' SHLIB_EXPFLAGS='-rpath $(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)' # no gprof for Irix... PROFFLAGS=-p |