1.include "../../Makefile.inc1"
2.include "../Makefile.gld"
3
4PROG_CXX=	ld.gold
5SRCS=		main.cc ${GOLD_COMMON}
6CFLAGS+=	-I${.CURDIR}/../../block2/libgold
7LDADD=		${STD_LDADD}
8NOMAN=
9
10# link-time optimization requires dlopen() which means ld cannot be built
11# statically and also support -plugin, not even for cross-tools.
12.undef NOSHARED
13
14.include <bsd.prog.mk>
15