summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-07-16 16:47:08 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-07-16 16:47:08 +0000
commitc3641eaa8e20610071d3a898ed2b7ba6f009a7ae (patch)
tree18791eef7eec49f00c872744f18c0d67d2a77317 /sys/arch/hppa
parent04c19119582b1d7a240fd4b2028d9609f3bec592 (diff)
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
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index 1adf3ed9d69..f705883c6b5 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.98 2017/06/29 16:51:35 espie Exp $
+# $OpenBSD: Makefile.hppa,v 1.99 2017/07/16 16:47:06 visa Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -133,7 +133,7 @@ makegap.sh:
cp $S/conf/makegap.sh $@
gap.o: Makefile makegap.sh
- sh makegap.sh 0x00000000 # BREAK 0,0 -> trap
+ LD="${LD}" sh makegap.sh 0x00000000 # BREAK 0,0 -> trap
vers.o: ${SYSTEM_DEP:Ngap.o}
sh $S/conf/newvers.sh