I give up
This commit is contained in:
parent
e62c526d49
commit
037b690bce
@ -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 \
|
||||||
|
4
build.sh
4
build.sh
@ -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 \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user