diff options
author | ru <ru@FreeBSD.org> | 2004-02-09 14:11:58 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-02-09 14:11:58 +0000 |
commit | 5d659b9c9153cac8ef26ac894913d84a6772d779 (patch) | |
tree | 8ce2d80f6b9077e83a792c0cc593b1328ab46eb6 /sys/boot/i386/boot2/Makefile | |
parent | 951150d25a152b9b7302661fb693e51d0ffe17f1 (diff) | |
download | FreeBSD-src-5d659b9c9153cac8ef26ac894913d84a6772d779.zip FreeBSD-src-5d659b9c9153cac8ef26ac894913d84a6772d779.tar.gz |
- Factor out -nostdlib to an upper level Makefile.inc.
- Now that bsd.prog.mk deals with programs linked with -nostdlib
better, and has a notion of an "internal" program, use PROG
where possible. This has a good impact on the contents of
.depend files and causes programs to be linked with cc(1).
XXX: boot2 couldn't be converted as it's actually two programs.
Tested on: i386, amd64
Diffstat (limited to 'sys/boot/i386/boot2/Makefile')
-rw-r--r-- | sys/boot/i386/boot2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index 3356a6c..273d20a 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -36,7 +36,7 @@ CFLAGS= -Os \ -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \ -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -LDFLAGS=-nostdlib -static -N --gc-sections +LDFLAGS=-static -N --gc-sections # Pick up ../Makefile.inc early. .include <bsd.init.mk> |