summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/groff/src/roff/groff/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/src/roff/groff/Makefile b/gnu/usr.bin/groff/src/roff/groff/Makefile
index d057d50..313dd6f 100644
--- a/gnu/usr.bin/groff/src/roff/groff/Makefile
+++ b/gnu/usr.bin/groff/src/roff/groff/Makefile
@@ -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>
OpenPOWER on IntegriCloud