Skip to content

Commit e621629

Browse files
committed
configure: don't use environment variables to get masterdir architecture
1 parent a4f609f commit e621629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ for tb in $_TOBUILD; do
165165
done
166166

167167
if [ "$(command -v xbps-src-make 2>/dev/null)" ]; then
168-
masterdirarch=$(xbps-uhelper -r "$MASTERDIR" arch)
168+
masterdirarch=$(XBPS_ARCH= XBPS_TARGET_ARCH= xbps-uhelper -r "$MASTERDIR" arch)
169169
xbps-src-make \
170170
-distdir "$DISTDIR" \
171171
-hostdir "$HOSTDIR" \

0 commit comments

Comments
 (0)