Skip to content

Commit 65039cf

Browse files
committed
chore(Makefile): ensure build type variable is set
1 parent 7985f08 commit 65039cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ dist-archive: dist/$(NAME)-$(ARCH).tar.gz ## Build a redistributable archive of
167167
dist/$(NAME)-$(ARCH).tar.gz: build $(ALL_ROOTFS)
168168
rm -rf $(CACHE_DIR)/$(NAME)
169169
mkdir -p $(CACHE_DIR)/$(NAME)
170-
$(MAKE) install PREFIX=$(CACHE_DIR)/$(NAME)/usr NO_RELOAD=true
170+
$(MAKE) install BUILD_TYPE=$(BUILD_TYPE) PREFIX=$(CACHE_DIR)/$(NAME)/usr NO_RELOAD=true
171171
mkdir -p dist
172172
tar cvfz $@ -C $(CACHE_DIR) $(NAME)
173173
cd dist && sha256sum $(NAME)-$(ARCH).tar.gz > $(NAME)-$(ARCH).tar.gz.sha256.txt
@@ -317,7 +317,7 @@ in-docker:
317317
-e PKG_CONFIG_SYSROOT_DIR="/usr/$(ARCH)-linux-gnu" \
318318
--user $(shell id -u):$(shell id -g) \
319319
$(IMAGE_NAME):$(IMAGE_TAG) \
320-
make $(TARGET)
320+
make BUILD_TYPE=$(BUILD_TYPE) $(TARGET)
321321

322322
##@ Deployment
323323

0 commit comments

Comments
 (0)