diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-03-18 15:51:05 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-03-18 15:51:05 +0000 |
commit | 4d16ed56d47d2b37e770e2246dd32ef303c30f4d (patch) | |
tree | 92489656336693c4095b120db0b17beb5781749d | |
parent | b42a02f7958b558bad55c1f5cb12fab4cada4712 (diff) |
cross-gcc: make things work, finally
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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> |