From 037b690bce8e825fd7c6c2e537d58199c1cd7078 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 26 May 2025 19:47:12 +1200 Subject: [PATCH] I give up --- Dockerfile | 3 --- build.sh | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4697816..d81af64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,6 @@ ENV CFLAGS="-static -O2" \ CXXFLAGS="-static -O2" \ LDFLAGS="-static" -# Add cross-compiler to PATH -ENV PATH="/opt/cross/bin:${PATH}" - # Install build dependencies RUN apk update && \ apk add --no-cache \ diff --git a/build.sh b/build.sh index 39328b7..22a5e43 100755 --- a/build.sh +++ b/build.sh @@ -5,8 +5,8 @@ set -e docker build \ --build-arg B_TARGET_ARCH=arm64 \ --build-arg B_TARGET_TRIPLE=aarch64-linux-musl \ - --build-arg B_CC=aarch64-none-elf-gcc \ - --build-arg B_CXX=aarch64-none-elf-g++ \ + --build-arg B_CC=aarch64-linux-musl-gcc \ + --build-arg B_CXX=aarch64-linux-musl-g++ \ -t cpp-httplib-builder:arm64 \ .