I give up

This commit is contained in:
Your Name 2025-05-26 19:47:12 +12:00
parent e62c526d49
commit 037b690bce
2 changed files with 2 additions and 5 deletions

View File

@ -20,9 +20,6 @@ ENV CFLAGS="-static -O2" \
CXXFLAGS="-static -O2" \ CXXFLAGS="-static -O2" \
LDFLAGS="-static" LDFLAGS="-static"
# Add cross-compiler to PATH
ENV PATH="/opt/cross/bin:${PATH}"
# Install build dependencies # Install build dependencies
RUN apk update && \ RUN apk update && \
apk add --no-cache \ apk add --no-cache \

View File

@ -5,8 +5,8 @@ set -e
docker build \ docker build \
--build-arg B_TARGET_ARCH=arm64 \ --build-arg B_TARGET_ARCH=arm64 \
--build-arg B_TARGET_TRIPLE=aarch64-linux-musl \ --build-arg B_TARGET_TRIPLE=aarch64-linux-musl \
--build-arg B_CC=aarch64-none-elf-gcc \ --build-arg B_CC=aarch64-linux-musl-gcc \
--build-arg B_CXX=aarch64-none-elf-g++ \ --build-arg B_CXX=aarch64-linux-musl-g++ \
-t cpp-httplib-builder:arm64 \ -t cpp-httplib-builder:arm64 \
. .