summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-03-18 15:51:05 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-03-18 15:51:05 +0000
commit4d16ed56d47d2b37e770e2246dd32ef303c30f4d (patch)
tree92489656336693c4095b120db0b17beb5781749d
parentb42a02f7958b558bad55c1f5cb12fab4cada4712 (diff)
cross-gcc: make things work, finally
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 74f0571c6c6..311f5db7ecb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.25 1998/03/17 18:10:53 mickey Exp $
+# $OpenBSD: Makefile,v 1.26 1998/03/18 15:51:04 mickey Exp $
#
# For more information on building in tricky environments, please see
@@ -143,9 +143,10 @@ cross-gcc:
/bin/sh ${.CURDIR}/gnu/usr.bin/gcc/configure \
--prefix ${CROSSDIR}/usr \
--target `cat ${CROSSDIR}/TARGET_CANON` && \
- ${MAKE} BISON=yacc LANGUAGES=c \
+ ${MAKE} BISON=yacc LANGUAGES=c LDFLAGS=${LDSTATIC} \
GCC_FOR_TARGET="./xgcc -B./ -I${CROSSDIR}/usr/include" && \
- ${MAKE} LANGUAGES=c install)
+ ${MAKE} BISON=yacc LANGUAGES=c LDFLAGS=${LDSTATIC} \
+ GCC_FOR_TARGET="./xgcc -B./ -I${CROSSDIR}/usr/include" install)
.endif
.include <bsd.subdir.mk>