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}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"