summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
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