diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2004-05-17 22:49:47 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2004-05-17 22:49:47 +0000 |
commit | 62217bbd5d9a3f247fa57fc7b5d233289251bcad (patch) | |
tree | b1fd893e422c8c7d47e86c3adda59436613ab5d2 /sys/arch/amd64/stand/mbr/Makefile | |
parent | 5f36e09c9e96679a2e49f7b757fa8a934058977c (diff) |
Work arounda behaviour change in binutils-2.14, now -m<...> -nostdlib
removes /usr/libdata from the script search path. add it back with a -L
Diffstat (limited to 'sys/arch/amd64/stand/mbr/Makefile')
-rw-r--r-- | sys/arch/amd64/stand/mbr/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/mbr/Makefile b/sys/arch/amd64/stand/mbr/Makefile index 670c731871c..7d87a1ccbc9 100644 --- a/sys/arch/amd64/stand/mbr/Makefile +++ b/sys/arch/amd64/stand/mbr/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2004/02/03 12:09:47 mickey Exp $ +# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $ # PROG= mbr @@ -6,6 +6,7 @@ SRCS= mbr.S AFLAGS+=-m32 -I${.CURDIR} -I${.CURDIR}/../../.. #-Wa,-a LD=ld LDFLAGS=-melf_i386 -nostdlib -Ttext 0 -x -N -s -Bstatic -e start +LDFLAGS+=-L/usr/libdata NOMAN= #MAN+= mbr.8 |