Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2017 17:41:09 +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: r318754 - head/sys/boot/mips/beri/boot2
Message-ID:  <201705231741.v4NHf9jH031342@repo.freebsd.org>

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



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