diff options
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/ld/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/Makefile b/gnu/usr.bin/ld/Makefile index ff7c5f09a62..e03c2247670 100644 --- a/gnu/usr.bin/ld/Makefile +++ b/gnu/usr.bin/ld/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2001/12/24 03:13:54 miod Exp $ +# $OpenBSD: Makefile,v 1.9 2001/12/26 19:44:39 miod Exp $ # $NetBSD: Makefile,v 1.13 1995/04/23 07:58:46 cgd Exp $ TARGET_MACHINE_ARCH?= $(MACHINE_ARCH) @@ -14,10 +14,13 @@ beforedepend: mkdir -p cross-include -rm cross-include/${TARGET_MACHINE_ARCH} -rm cross-include/${TARGET} - ln -sf ${.CURDIR}/../../../sys/arch/${TARGET}/include \ - cross-include/${TARGET} + -rm cross-include/machine ln -sf ${.CURDIR}/../../../sys/arch/${TARGET_MACHINE_ARCH}/include \ cross-include/${TARGET_MACHINE_ARCH} + ln -sf ${.CURDIR}/../../../sys/arch/${TARGET}/include \ + cross-include/${TARGET} + ln -sf ${.CURDIR}/../../../sys/arch/${TARGET}/include \ + cross-include/machine .else SUBDIR= ldconfig ldd .endif |