summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-09-26 12:22:02 +0000
committerderaadt <deraadt@openbsd.org>1996-09-26 12:22:02 +0000
commitafaa1dbcdd5256db7ffa89917ed86b433e58be89 (patch)
tree9911d041c51f05e4e1207c5ab16c4d479b2e6a3b
parentstill handle OLD_PIPE case (diff)
downloadwireguard-openbsd-afaa1dbcdd5256db7ffa89917ed86b433e58be89.tar.xz
wireguard-openbsd-afaa1dbcdd5256db7ffa89917ed86b433e58be89.zip
handle obj dirs
-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