mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 08:37:50 -04: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:
parent
513829ec5e
commit
46b2d791da
1 changed files with 6 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue