d05becf2b6
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
14 lines
174 B
Makefile
14 lines
174 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= cdboot
|
|
STRIP=
|
|
BINMODE=${NOBINMODE}
|
|
NO_MAN=
|
|
SRCS= ${PROG}.s
|
|
|
|
ORG= 0x0000
|
|
|
|
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
|
|
|
|
.include <bsd.prog.mk>
|