summaryrefslogtreecommitdiff
path: root/sub
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-05-06 14:46:40 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-05-06 14:46:40 +0000
commit61469c4432b7788ce808a2d6e166f97f45847742 (patch)
tree5b2473adb3d1e868f49383d1c0fa9b8e3e424d4c /sub
parent5a4bb672dcfaacaede314916af52c70f35245b3b (diff)
downloadlh-bootstrap-61469c4432b7788ce808a2d6e166f97f45847742.tar.xz
Busybox needs a correct build-build compiler
Diffstat (limited to 'sub')
-rw-r--r--sub/busybox/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/busybox/Makefile b/sub/busybox/Makefile
index e12e3dd..9003a15 100644
--- a/sub/busybox/Makefile
+++ b/sub/busybox/Makefile
@@ -28,7 +28,7 @@ $(OUTPUT)/build-host/busybox-$(BUSYBOX_VERSION)/.config: $(OUTPUT)/build-host/.l
exec setuidgid $(NORMALUSER) cp -f $(WD)/sub/busybox/host-full-config $@
$(OUTPUT)/build-host/.lh_bb_built: $(OUTPUT)/build-host/busybox-$(BUSYBOX_VERSION)/.config | $(OUTPUT)/build-build/.lh_skarnet_installed
- exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-host/busybox-$(BUSYBOX_VERSION) $(MAKE) -j1 busybox install CROSS_COMPILE=$(TRIPLE)- CC="$(BUILD_HOST_CC)"
+ exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-host/busybox-$(BUSYBOX_VERSION) $(MAKE) -j1 busybox install CROSS_COMPILE=$(TRIPLE)- CC="$(BUILD_HOST_CC)" HOSTCC="$(BUILD_BUILD_CC)"
exec setuidgid $(NORMALUSER) s6-touch $@
$(OUTPUT)/build-host/.lh_bb_installed: $(OUTPUT)/build-host/.lh_bb_built $(OUTPUT)/tmp/.lh_layout_installed | $(OUTPUT)/build-build/.lh_skarnet_installed