Skip to content

Commit

Permalink
more flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ktechmidas committed Oct 11, 2024
1 parent a801a69 commit b7583d3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ jobs:
echo "DEBIAN_FRONTEND=noninteractive" >> $GITHUB_ENV
echo "OPENSSL_STATIC=1" >> $GITHUB_ENV
echo "OPENSSL_NO_VENDOR=0" >> $GITHUB_ENV
echo 'CXXFLAGS_aarch64_unknown_linux_gnu=--sysroot=/usr/aarch64-linux-gnu -nostdinc++ -I/usr/aarch64-linux-gnu/include/c++/11 -I/usr/aarch64-linux-gnu/include/c++/11/aarch64-linux-gnu' >> $GITHUB_ENV
echo 'CXXFLAGS=--sysroot=/usr/aarch64-linux-gnu -nostdinc++ -I/usr/aarch64-linux-gnu/include/c++/11 -I/usr/aarch64-linux-gnu/include/c++/11/aarch64-linux-gnu' >> $GITHUB_ENV
echo 'CFLAGS=--sysroot=/usr/aarch64-linux-gnu' >> $GITHUB_ENV
echo 'RUSTFLAGS=-C linker=aarch64-linux-gnu-gcc -C link-arg=--sysroot=/usr/aarch64-linux-gnu' >> $GITHUB_ENV
echo 'C_INCLUDE_PATH=' >> $GITHUB_ENV
echo 'CPLUS_INCLUDE_PATH=' >> $GITHUB_ENV
- name: Build the project for ARM64
run: cargo build --release --target=aarch64-unknown-linux-gnu
Expand Down

0 comments on commit b7583d3

Please sign in to comment.