Starting with v3.0 of FreeBSD, we are now an elf system, and dont' have a

-Bforcearchive flag for ld...

Give FreeBSD its own special Makefile to get around the "bug"
This commit is contained in:
Marc G. Fournier 1998-10-27 04:32:02 +00:00
parent 7825f9b890
commit 949953060a
3 changed files with 328 additions and 317 deletions

633
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,8 @@ case "$host_os" in
aux*) os=aux need_tas=no ;;
linux*) os=linux need_tas=no ;;
bsdi*) os=bsdi need_tas=no ;;
freebsd*|netbsd*|openbsd*) os=bsd need_tas=no ;;
freebsd*) os=freebsd need_tas=no ;;
netbsd*|openbsd*) os=bsd need_tas=no ;;
dgux*) os=dgux need_tas=no ;;
aix*) os=aix need_tas=no ;;
nextstep*) os=nextstep need_tas=no ;;

View File

@ -0,0 +1,9 @@
%.so: %.o
$(LD) -x -r -o $<.obj $<
@echo building shared object $@
@rm -f $@.pic
@${AR} cq $@.pic `lorder $<.obj | tsort`
${RANLIB} $@.pic
@rm -f $@
$(LD) -x -Bshareable -Bforcearchive \
-o $@ $@.pic