diff options
author | 2005-01-19 18:31:34 +0000 | |
---|---|---|
committer | 2005-01-19 18:31:34 +0000 | |
commit | 3b94d48860a5b5989312e44d011658b659b30a24 (patch) | |
tree | 642a7279908cfc7e85d079f73faa1ff33765b4ff | |
parent | more `cvs update' bits; help and ok jmc (diff) | |
download | wireguard-openbsd-3b94d48860a5b5989312e44d011658b659b30a24.tar.xz wireguard-openbsd-3b94d48860a5b5989312e44d011658b659b30a24.zip |
Unbreak cross-tools by providing TARGET_ARCH in include target
to get right config.status file for binutils and gcc.
ok mickey@
-rw-r--r-- | Makefile.cross | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.cross b/Makefile.cross index 216c70d658b..c399d25e684 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.cross,v 1.3 2005/01/12 00:06:28 espie Exp $ +# $OpenBSD: Makefile.cross,v 1.4 2005/01/19 18:31:34 grange Exp $ cross-tools: cross-includes cross-binutils cross-gcc cross-lib cross-distrib: cross-tools cross-bin cross-etc-root-var @@ -99,9 +99,11 @@ ${CROSSINCLUDES}: ${CROSSOBJ} @(cd ${.CURDIR}/include && \ MACHINE=${TARGET} MACHINE_ARCH=${TARGET_ARCH} \ MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + TARGET_ARCH=${TARGET_ARCH} \ ${MAKE} prereq && \ MACHINE=${TARGET} MACHINE_ARCH=${TARGET_ARCH} \ MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + TARGET_ARCH=${TARGET_ARCH} \ ${MAKE} DESTDIR=${CROSSDIR} includes) @touch ${CROSSINCLUDES} |