diff options
author | ed <ed@FreeBSD.org> | 2010-06-03 17:42:32 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-06-03 17:42:32 +0000 |
commit | 294b044a4b441c5212b83604fc5a265e225671cc (patch) | |
tree | 961ebf5a12c84b34ed933f601347e8611cbf6ca4 /sys/boot/i386/boot0 | |
parent | 16dab63fe9c4d2fdff7ae6a70fa1a08b5c4d0c31 (diff) | |
download | FreeBSD-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/Makefile | 2 |
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> |