1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

Unbreak Alpha world.

We are seeing "/usr/libexec/ld-elf.so.1: groff: too few PT_LOAD segments",
however it appears that there really is only one PT_LOAD segment in the groff
binary.  It is unclear if `rtld' or `ld' is at fault here -- but using an
RELENG_4 `ld' binary allows one to build a working dynamic groff binary.

Submitted by:	gallatin
This commit is contained in:
David E. O'Brien 2002-10-21 00:26:48 +00:00
parent 513829ec5e
commit 46b2d791da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105593

View File

@ -6,4 +6,10 @@ DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN}
.if ${MACHINE_ARCH} == "alpha"
#XXXX ld produces only one PT_LOAD segment when this binary
#XXXX is linked dynamically, which confuses the rtld
LDFLAGS+= -static
.endif
.include <bsd.prog.mk>