summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/pxeboot
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-05-17 22:49:47 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-05-17 22:49:47 +0000
commit62217bbd5d9a3f247fa57fc7b5d233289251bcad (patch)
treeb1fd893e422c8c7d47e86c3adda59436613ab5d2 /sys/arch/amd64/stand/pxeboot
parent5f36e09c9e96679a2e49f7b757fa8a934058977c (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/pxeboot')
-rw-r--r--sys/arch/amd64/stand/pxeboot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/pxeboot/Makefile b/sys/arch/amd64/stand/pxeboot/Makefile
index f41cb437009..bbc89667f80 100644
--- a/sys/arch/amd64/stand/pxeboot/Makefile
+++ b/sys/arch/amd64/stand/pxeboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2004/03/21 21:37:41 tom Exp $
+# $OpenBSD: Makefile,v 1.2 2004/05/17 22:49:46 drahn Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -13,6 +13,7 @@ SRCS= srt0.S conf.c devopen.c net.c open.c
LD?= ld
SIZE?= size
LDFLAGS+=-melf_i386 -nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -noinhibit-exec
+LDFLAGS+=-L/usr/libdata
INSTALL_STRIP=
.PATH: ${SADIR}/libsa