diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-24 03:13:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-24 03:13:56 +0000 |
commit | 90b6c365e5133e481a37f09ae129cddd493d02a9 (patch) | |
tree | b6c48cd395ab1681ffa0746252d744ef50566fcb /gnu/usr.bin/ld/Makefile | |
parent | 8aca205bb4215a613a9a7565081d8e8451231a3d (diff) |
Hooks to enable building a cross-ld for mvme88k.
Diffstat (limited to 'gnu/usr.bin/ld/Makefile')
-rw-r--r-- | gnu/usr.bin/ld/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/Makefile b/gnu/usr.bin/ld/Makefile index adb1d7f8c4a..ff7c5f09a62 100644 --- a/gnu/usr.bin/ld/Makefile +++ b/gnu/usr.bin/ld/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2000/02/01 21:01:38 espie Exp $ +# $OpenBSD: Makefile,v 1.8 2001/12/24 03:13:54 miod Exp $ # $NetBSD: Makefile,v 1.13 1995/04/23 07:58:46 cgd Exp $ TARGET_MACHINE_ARCH?= $(MACHINE_ARCH) @@ -13,6 +13,9 @@ CPPFLAGS+= -DCROSS_LINKER -DXHOST=$(MACHINE_ARCH) \ 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} ln -sf ${.CURDIR}/../../../sys/arch/${TARGET_MACHINE_ARCH}/include \ cross-include/${TARGET_MACHINE_ARCH} .else |