mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
19 lines
401 B
Makefile
19 lines
401 B
Makefile
# $FreeBSD$
|
|
#
|
|
|
|
PROG= ld
|
|
SRCS= ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c cplus-dem.c
|
|
CFLAGS += -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) -I$(GCCDIR) -DIN_GCC -DDEMANGLE_CPLUSPLUS
|
|
LDFLAGS+= -Xlinker -Bstatic
|
|
|
|
GCCDIR= ${.CURDIR}/../../../contrib/gcc
|
|
|
|
SUBDIR= ldconfig ldd
|
|
.if !defined(NOPIC)
|
|
SUBDIR+= rtld
|
|
.endif
|
|
|
|
.PATH: $(.CURDIR)/$(MACHINE) $(GCCDIR)
|
|
|
|
.include <bsd.prog.mk>
|