From: Tom Yu Date: Wed, 18 Feb 2004 20:43:59 +0000 (+0000) Subject: use $(CC) rather than ld to build shared libs on tru64 and irix X-Git-Tag: krb5-1.4-beta1~606 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f0262649d900b1d5fb336c52062a43beb1192b0;p=krb5.git 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 --- diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 778d89e3d..2b0ff32d4 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2004-02-18 Tom Yu + + * shlib.conf (alpha-*-dec-osf*, mips-sgi-irix*): Use $(CC) instead + of ld for building shared libraries. + 2004-02-12 Tom Yu * shlib.conf (*-*-solaris-*): Remove exitsleep. diff --git a/src/config/shlib.conf b/src/config/shlib.conf index ed41bd8fc..27aa9ed0c 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