summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/ld/Makefile')
-rw-r--r--gnu/usr.bin/ld/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/ld/Makefile b/gnu/usr.bin/ld/Makefile
index 4e477fdb00d..8bcc4442975 100644
--- a/gnu/usr.bin/ld/Makefile
+++ b/gnu/usr.bin/ld/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2004/03/31 19:05:37 mickey Exp $
+# $OpenBSD: Makefile,v 1.12 2005/09/12 20:04:50 miod Exp $
# $NetBSD: Makefile,v 1.13 1995/04/23 07:58:46 cgd Exp $
TARGET_MACHINE_ARCH?= $(MACHINE_ARCH)
@@ -14,12 +14,12 @@ ld.o:
.if ($(TARGET_MACHINE_ARCH) != $(MACHINE_ARCH))
CPPFLAGS+= -DCROSS_LINKER -DXHOST=$(MACHINE_ARCH) \
- -idirafter cross-include -U__ELF__
+ -Icross-include -U__ELF__
beforedepend:
mkdir -p cross-include
- -rm cross-include/${TARGET_MACHINE_ARCH}
- -rm cross-include/${TARGET}
- -rm cross-include/machine
+ rm -f cross-include/${TARGET_MACHINE_ARCH}
+ rm -f cross-include/${TARGET}
+ rm -f cross-include/machine
ln -sf ${.CURDIR}/../../../sys/arch/${TARGET_MACHINE_ARCH}/include \
cross-include/${TARGET_MACHINE_ARCH}
ln -sf ${.CURDIR}/../../../sys/arch/${TARGET}/include \