From b2ab4f01055df006d0124d3c7ae3edaa8d0ba80b Mon Sep 17 00:00:00 2001 From: saicharankandukuri Date: Sat, 13 Apr 2024 11:17:39 +0530 Subject: [PATCH] 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. --- plugins/envsetup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/envsetup b/plugins/envsetup index b1a65a7..fb59d79 100755 --- a/plugins/envsetup +++ b/plugins/envsetup @@ -236,6 +236,8 @@ foreign_arch() { if [ "$arch" != "$worker_arch" ]; then FOREIGN="--foreign" foreign_worker=true + else + unset FOREIGN fi }