294b044a4b
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
15 lines
212 B
Makefile
15 lines
212 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= pmbr
|
|
STRIP=
|
|
BINMODE=${NOBINMODE}
|
|
NO_MAN=
|
|
SRCS= ${PROG}.s
|
|
|
|
ORG= 0x600
|
|
|
|
AFLAGS+=--defsym FLAGS=${BOOT_MBR_FLAGS}
|
|
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
|
|
|
|
.include <bsd.prog.mk>
|