From c3641eaa8e20610071d3a898ed2b7ba6f009a7ae Mon Sep 17 00:00:00 2001 From: Visa Hankala Date: Sun, 16 Jul 2017 16:47:08 +0000 Subject: Pass the linker from make environment to makegap.sh. This is (only) a partial solution to cross compiling the kernel with KARL. OK deraadt@ a while ago --- sys/arch/landisk/conf/Makefile.landisk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/landisk/conf') diff --git a/sys/arch/landisk/conf/Makefile.landisk b/sys/arch/landisk/conf/Makefile.landisk index fa91da42118..b3a8dd98dec 100644 --- a/sys/arch/landisk/conf/Makefile.landisk +++ b/sys/arch/landisk/conf/Makefile.landisk @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.landisk,v 1.70 2017/06/29 16:51:35 espie Exp $ +# $OpenBSD: Makefile.landisk,v 1.71 2017/07/16 16:47:07 visa Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -125,7 +125,7 @@ makegap.sh: cp $S/conf/makegap.sh $@ gap.o: Makefile makegap.sh - sh makegap.sh 0xc3c3c3c3 + LD="${LD}" sh makegap.sh 0xc3c3c3c3 vers.o: ${SYSTEM_DEP:Ngap.o} sh $S/conf/newvers.sh -- cgit v1.2.3