Skip to content

Commit 006a918

Browse files
committed
accept FAB_ARCH value if set
1 parent d351d80 commit 006a918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/product.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CODENAME ?= $(shell basename $(RELEASE))
2222
UBUNTU = $(shell [ $(DISTRO) = 'ubuntu' ] && echo 'y')
2323
DEBIAN = $(shell [ $(DISTRO) = 'debian' ] && echo 'y')
2424

25-
FAB_ARCH = $(shell dpkg --print-architecture)
25+
FAB_ARCH ?= $(shell dpkg --print-architecture)
2626
I386 = $(shell [ $(FAB_ARCH) = 'i386' ] && echo 'y')
2727
AMD64 = $(shell [ $(FAB_ARCH) = 'amd64' ] && echo 'y')
2828
ARM64 = $(shell [ $(FAB_ARCH) = 'arm64' ] && echo 'y')

0 commit comments

Comments
 (0)