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
This commit is contained in:
John Baldwin 2017-05-23 17:41:09 +00:00
parent 7828a9ccb7
commit a0320759e7

View File

@ -63,7 +63,7 @@ LIBSTAND= ${.OBJDIR}/../../../../../lib/libstand/libstand.a
LDFLAGS= -nostdlib \
-static \
-N \
-Wl,-N \
-G0 \
-L${.CURDIR}