summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-07-07 04:46:46 +0000
committerimp <imp@FreeBSD.org>1999-07-07 04:46:46 +0000
commit136f27c25b81b9d271a3128db889d7578aec631f (patch)
treecd599ef2c9a6b2c4d36d2135969c9a7be09fea43 /usr.bin/make
parent23e226cbeaa53d01ed8ab22d20bd02e61eb36c61 (diff)
downloadFreeBSD-src-136f27c25b81b9d271a3128db889d7578aec631f.zip
FreeBSD-src-136f27c25b81b9d271a3128db889d7578aec631f.tar.gz
Per requests from the community, commit rudimentary cross compilation
support. I've been building world with these changes for months w/o ill effect. I've also managed to build the cross tool chain for MIPS with these patches. Please note that the extent to which these patches work is largely dictated by how well our tool chains support the cross compilation. Building alpha binaries on i386 doesn't work. Supposedly building i386 binaries on alpha does work, but I've not verified it with these patches, however.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile
index 7a9b432..9f6b524 100644
--- a/usr.bin/make/Makefile
+++ b/usr.bin/make/Makefile
@@ -1,8 +1,8 @@
# @(#)Makefile 5.2 (Berkeley) 12/28/90
-# $Id$
+# $Id: Makefile,v 1.10 1997/02/22 19:27:05 peter Exp $
PROG= make
-CFLAGS+= -I${.CURDIR}
+CFLAGS+= -I${.CURDIR} ${CROSS_MAKE_FLAGS}
SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
make.c parse.c str.c suff.c targ.c var.c util.c
SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
OpenPOWER on IntegriCloud