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} _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"