svn commit: r362785 - head/lib/csu/arm

John Baldwin jhb at FreeBSD.org
Mon Jun 29 17:19:08 UTC 2020


Author: jhb
Date: Mon Jun 29 17:19:08 2020
New Revision: 362785
URL: https://svnweb.freebsd.org/changeset/base/362785

Log:
  Stop using STATIC_CFLAGS.
  
  This was added in r293648 to pass -mlong-calls for crt1.o and gcrt1.o.
  The use of -mlong-calls was removed in r358851 for LLVM 10.0, leaving
  STATIC_CFLAGS empty.
  
  Sponsored by:	DARPA
  Differential Revision:	https://reviews.freebsd.org/D25305

Modified:
  head/lib/csu/arm/Makefile

Modified: head/lib/csu/arm/Makefile
==============================================================================
--- head/lib/csu/arm/Makefile	Mon Jun 29 16:54:00 2020	(r362784)
+++ head/lib/csu/arm/Makefile	Mon Jun 29 17:19:08 2020	(r362785)
@@ -21,13 +21,13 @@ CLEANFILES=	${OBJS} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_
 CLEANFILES+=	crtbrand.o ignore_init_note.o
 
 crt1_c.o: crt1_c.c
-	${CC} ${CFLAGS} ${STATIC_CFLAGS} -c -o ${.TARGET} ${.CURDIR}/crt1_c.c
+	${CC} ${CFLAGS} -c -o ${.TARGET} ${.CURDIR}/crt1_c.c
 
 crt1.o:	crt1_c.o crt1_s.o crtbrand.o ignore_init_note.o
 	${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o}
 
 gcrt1_c.o: crt1_c.c
-	${CC} ${CFLAGS} ${STATIC_CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c
+	${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c
 
 gcrt1.o: gcrt1_c.o crt1_s.o crtbrand.o ignore_init_note.o
 	${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o}


More information about the svn-src-head mailing list