Skip to content

Commit b2ab4f0

Browse files
fix: try to unset FOREIGN variable if native build
this fixes issue with incomplete native build when a different architecture build is performed before native build under same environment.
1 parent c7f63bf commit b2ab4f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/envsetup

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ foreign_arch() {
236236
if [ "$arch" != "$worker_arch" ]; then
237237
FOREIGN="--foreign"
238238
foreign_worker=true
239+
else
240+
unset FOREIGN
239241
fi
240242
}
241243

0 commit comments

Comments
 (0)