Skip to content

Commit cb000d4

Browse files
tomassrnkajakubno
andauthored
Update build.sh
Co-authored-by: Jakub Novák <jakub@e2b.dev>
1 parent 3933617 commit cb000d4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,10 @@ function build_version {
4242
git checkout "$(get_tag "$version")"
4343

4444
# Set up cross-compilation if building arm64 on x86_64
45-
local make_opts=""
45+
local make_opts="ARCH=arm64"
4646
if [[ "$TARGET_ARCH" == "arm64" ]]; then
4747
if [[ "$HOST_ARCH" != "aarch64" ]]; then
4848
make_opts="ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-"
49-
else
50-
make_opts="ARCH=arm64"
5149
fi
5250
fi
5351

0 commit comments

Comments
 (0)