svn commit: r318754 - head/sys/boot/mips/beri/boot2

John Baldwin jhb at FreeBSD.org
Tue May 23 17:41:10 UTC 2017


Author: jhb
Date: Tue May 23 17:41:09 2017
New Revision: 318754
URL: https://svnweb.freebsd.org/changeset/base/318754

Log:
  Pass -N directly to ld via -Wl rather than passing it to the compiler driver.
  
  In particular, clang doesn't accept -N.
  
  Obtained from:	CheriBSD
  Sponsored by:	DARPA / AFRL

Modified:
  head/sys/boot/mips/beri/boot2/Makefile

Modified: head/sys/boot/mips/beri/boot2/Makefile
==============================================================================
--- head/sys/boot/mips/beri/boot2/Makefile	Tue May 23 17:34:10 2017	(r318753)
+++ head/sys/boot/mips/beri/boot2/Makefile	Tue May 23 17:41:09 2017	(r318754)
@@ -63,7 +63,7 @@ LIBSTAND=	${.OBJDIR}/../../../../../lib/
 
 LDFLAGS=	-nostdlib			\
 		-static				\
-		-N				\
+		-Wl,-N				\
 		-G0				\
 		-L${.CURDIR}
 


More information about the svn-src-all mailing list