summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-06-03 17:42:32 +0000
committered <ed@FreeBSD.org>2010-06-03 17:42:32 +0000
commit294b044a4b441c5212b83604fc5a265e225671cc (patch)
tree961ebf5a12c84b34ed933f601347e8611cbf6ca4 /sys/boot/sparc64
parent16dab63fe9c4d2fdff7ae6a70fa1a08b5c4d0c31 (diff)
downloadFreeBSD-src-294b044a4b441c5212b83604fc5a265e225671cc.zip
FreeBSD-src-294b044a4b441c5212b83604fc5a265e225671cc.tar.gz
Use -Wl,-N instead of the undocumented -N option for GCC.
GCC forwards the -N flag directly to ld. This flag is not documented and not supported by (for example) Clang. Just use -Wl,-N. Submitted by: Pawel Worach
Diffstat (limited to 'sys/boot/sparc64')
-rw-r--r--sys/boot/sparc64/boot1/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/sparc64/boot1/Makefile b/sys/boot/sparc64/boot1/Makefile
index 9670678..dec3e09 100644
--- a/sys/boot/sparc64/boot1/Makefile
+++ b/sys/boot/sparc64/boot1/Makefile
@@ -9,7 +9,7 @@ SRCS= _start.s boot1.c
BOOTBLOCKBASE= 0x4000
CFLAGS= -mcmodel=medlow -Os -I${.CURDIR}/../../common
-LDFLAGS=-N -Ttext ${BOOTBLOCKBASE}
+LDFLAGS=-Ttext ${BOOTBLOCKBASE} -Wl,-N
# Construct boot1. sunlabel expects it to contain zeroed-out space for the
# label, and to be of the correct size.
OpenPOWER on IntegriCloud