diff options
author | Tom Yu <tlyu@mit.edu> | 2001-01-29 00:07:27 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2001-01-29 00:07:27 +0000 |
commit | f879186efa843e7cb77fd48566baca9ac7f3264a (patch) | |
tree | 3980e6e5bc2eb10dff9486f7e8cef2ef27365525 /src | |
parent | b1e673c0ea1194e69ced6d7bc231d0c18e12bd29 (diff) | |
download | krb5-f879186efa843e7cb77fd48566baca9ac7f3264a.tar.gz krb5-f879186efa843e7cb77fd48566baca9ac7f3264a.tar.xz krb5-f879186efa843e7cb77fd48566baca9ac7f3264a.zip |
* Makefile.in: Remove rule for aix.bincmds; we don't need it
anymore.
* makeshlib.sh: Use the linker flag -berok so that unresolved
symbols don't turn into link-time errors for building shared libs
on AIX.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12960 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/util/ChangeLog | 9 | ||||
-rw-r--r-- | src/util/Makefile.in | 8 | ||||
-rw-r--r-- | src/util/makeshlib.sh | 8 |
3 files changed, 12 insertions, 13 deletions
diff --git a/src/util/ChangeLog b/src/util/ChangeLog index 1b696f8510..cb57799352 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,12 @@ +2001-01-28 Tom Yu <tlyu@mit.edu> + + * Makefile.in: Remove rule for aix.bincmds; we don't need it + anymore. + + * makeshlib.sh: Use the linker flag -berok so that unresolved + symbols don't turn into link-time errors for building shared libs + on AIX. + 2000-11-01 Ezra Peisach <epeisach@mit.edu> * reconf: Rework syntax to detect version numbers of newer diff --git a/src/util/Makefile.in b/src/util/Makefile.in index e0514d033c..4bd7a04694 100644 --- a/src/util/Makefile.in +++ b/src/util/Makefile.in @@ -49,14 +49,6 @@ makeshlib: $(srcdir)/makeshlib.sh Makefile $(RM) $@ $@.tmp $(SLIBSH) $(srcdir)/makeshlib.sh >$@.tmp&&chmod a+x $@.tmp&&mv $@.tmp $@ - -# -# We only need this for AIX, but we generate it for all systems. -# -all-unix:: aix.bincmds - -aix.bincmds: Makefile - echo libpath $(KRB5_LIBDIR):`pwd`/$(TOPLIBD):/usr/lib:/lib >aix.bincmds clean:: $(RM) libupdate makeshlib diff --git a/src/util/makeshlib.sh b/src/util/makeshlib.sh index ec485cac17..303c0ced9b 100644 --- a/src/util/makeshlib.sh +++ b/src/util/makeshlib.sh @@ -38,16 +38,14 @@ case $host in stat=$? if [ $stat -eq 0 ] ; then if test "$HAVE_GCC" = "yes" ; then - - - $CC -o shr.o.$version $library -nostartfiles -Xlinker -bgcbypass:1 -Xlinker -bfilelist -Xlinker -bM:SRE -Xlinker -bE:${library}.syms $LDFLAGS -lc + $CC -o shr.o.$version $library -nostartfiles -Xlinker -bgcbypass:1 -Xlinker -bfilelist -Xlinker -bM:SRE -Xlinker -bE:${library}.syms -Xlinker -berok $LDFLAGS -lc else # Pull in by explicit pathname so we don't get gnu ld if # installed (it could be even if we chose not to use gcc). # Better still would be to do this through $CC -- how do # we get crt0.o left out? - echo /bin/ld -o shr.o.$version $library -H512 -T512 -bnoentry -bM:SRE $LDFLAGS -bgcbypass:1 -bnodelcsect -bE:${library}.syms $libdirfl $liblist -lc - /bin/ld -o shr.o.$version $library -H512 -T512 -bnoentry -bM:SRE $LDFLAGS -bgcbypass:1 -bnodelcsect -bE:${library}.syms -lc + echo /bin/ld -o shr.o.$version $library -H512 -T512 -bnoentry -bM:SRE $LDFLAGS -bgcbypass:1 -bnodelcsect -bE:${library}.syms -berok $libdirfl $liblist -lc + /bin/ld -o shr.o.$version $library -H512 -T512 -bnoentry -bM:SRE $LDFLAGS -bgcbypass:1 -bnodelcsect -bE:${library}.syms -berok -lc fi stat=$? if [ $stat -eq 0 ] ; then |