summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-26 12:22:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-26 12:22:03 +0000
commit6c920405045c3508b00ae9b34ebead224c504537 (patch)
treee98ef1dbe193c534f140b3e482237c77385182b7 /gnu
parent027a31514ffa8883e00d4b32cde7741c78a9d0ad (diff)
handle obj dirs
Diffstat (limited to 'gnu')
-rw-r--r--gnu/libexec/ld.so/ld.so/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/libexec/ld.so/ld.so/Makefile b/gnu/libexec/ld.so/ld.so/Makefile
index 53628b8e0f3..077129bce79 100644
--- a/gnu/libexec/ld.so/ld.so/Makefile
+++ b/gnu/libexec/ld.so/ld.so/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 1996/09/23 18:58:55 pefo Exp $
+# $OpenBSD: Makefile,v 1.3 1996/09/26 12:22:02 deraadt Exp $
SUBDIR= # libdl
-CFLAGS += -I. -DNO_UNDERSCORE -DVERBOSE_DLINKER \
- -DUSE_CACHE -D__PIC__ -I${MACHINE_ARCH}
+CFLAGS += -I${.CURDIR} -DNO_UNDERSCORE -DVERBOSE_DLINKER \
+ -DUSE_CACHE -D__PIC__ -I${.CURDIR}/${MACHINE_ARCH}
SRCS= boot1.c hash.c readelflib1.c vsprintf.c elfinterp.c
PROG= ld.so
@@ -11,7 +11,7 @@ MAN= ld.so.8
BINDIR=/usr/libexec
STRIP=
-.PATH: ${MACHINE_ARCH}
+.PATH: ${.CURDIR}/${MACHINE_ARCH}
ELF_LDFLAGS=--shared # using GNU ld