Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2020 17:19:08 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362785 - head/lib/csu/arm
Message-ID:  <202006291719.05THJ8rp073182@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006291719.05THJ8rp073182>