1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-22 02:54:21 +00:00

jk: The dæmons want more blood

This commit is contained in:
Steffo 2024-07-12 06:56:32 +02:00
parent 245f1dad38
commit 08d7d73e6b
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -68,20 +68,17 @@ RUN \
RUSTTARGET=x86_64-unknown-linux-gnu; \
export TARGET_CC=/usr/bin/x86-64-linux-gnu-gcc; \
export TARGET_AR=/usr/bin/x86-64-linux-gnu-ar; \
export HOST_PKG_CONFIG_PATH=/; \
export TARGET_PKG_CONFIG_PATH=/usr/x86-64-linux-gnu; \
export PKG_CONFIG_PATH=/usr/x86-64-linux-gnu; \
elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \
RUSTTARGET=aarch64-unknown-linux-gnu; \
export TARGET_CC=/usr/bin/aarch64-linux-gnu-gcc; \
export TARGET_AR=/usr/bin/aarch64-linux-gnu-ar; \
export HOST_PKG_CONFIG_PATH=/; \
export TARGET_PKG_CONFIG_PATH=/usr/aarch64-linux-gnu; \
export PKG_CONFIG_PATH=/usr/aarch64-linux-gnu; \
elif [ "${TARGETPLATFORM}" = "linux/arm/v7" ]; then \
RUSTTARGET=armv7-unknown-linux-gnueabihf; \
export TARGET_CC=/usr/bin/arm-linux-gnueabihf-gcc; \
export TARGET_AR=/usr/bin/arm-linux-gnueabihf-ar; \
export HOST_PKG_CONFIG_PATH=/; \
export TARGET_PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf; \
export PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf; \
fi && \
cargo build --all-features --bins --release --target=${RUSTTARGET}