43e8403953
BSD crt is currently used on all architectures (other than sparc64). Remove the option and use BSD crt everywhere as part of the GCC 4.2.1 retirement plan. https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html PR: 239851 Reviewed by: andrew, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23122
34 lines
636 B
Makefile
34 lines
636 B
Makefile
# $FreeBSD$
|
|
|
|
SSP_CFLAGS=
|
|
|
|
SED_FIX_NOTE = -i "" -e '/\.note\.tag/s/progbits/note/'
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.if !defined(BUILDING_TESTS)
|
|
|
|
OBJS+= crtbegin.o crtbeginS.o crtbeginT.o
|
|
OBJS+= crtend.o crtendS.o
|
|
|
|
CFLAGS_CRTS= -DSHARED ${PICFLAG}
|
|
|
|
crtbegin.o: crtbegin.c
|
|
crtbeginS.o: crtbegin.c
|
|
crtbeginT.o: crtbegin.c
|
|
crtend.o: crtend.c
|
|
crtendS.o: crtend.c
|
|
|
|
crtbegin.o crtend.o crtbeginT.o:
|
|
${CC} ${CFLAGS} -I${.CURDIR} -c -o ${.TARGET} ${.ALLSRC:N*.h:[1]}
|
|
|
|
crtbeginS.o crtendS.o:
|
|
${CC} ${CFLAGS} -I${.CURDIR} ${CFLAGS_CRTS} -c -o ${.TARGET} \
|
|
${.ALLSRC:N*.h:[1]}
|
|
|
|
.endif
|
|
|
|
.include "../Makefile.inc"
|