summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/boot0
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/i386/boot0
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/i386/boot0')
-rw-r--r--sys/boot/i386/boot0/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/boot0/Makefile b/sys/boot/i386/boot0/Makefile
index 3b3bb52..fdc527c 100644
--- a/sys/boot/i386/boot0/Makefile
+++ b/sys/boot/i386/boot0/Makefile
@@ -74,6 +74,6 @@ CFLAGS+=-DFLAGS=${BOOT_BOOT0_FLAGS} \
-DTICKS=${BOOT_BOOT0_TICKS} \
-DCOMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED}
-LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-S,--oformat,binary
+LDFLAGS=-e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-N,-S,--oformat,binary
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud