diff options
author | gennyble <gen@nyble.dev> | 2023-11-23 14:28:36 -0600 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-11-23 14:28:36 -0600 |
commit | 4d58f3d6ba1caaa331ae61471a6a0d6778d6baab (patch) | |
tree | bc2798b56d3c3ffde48cdb912e7297f282207dbb /build.sh | |
download | v4l16-4d58f3d6ba1caaa331ae61471a6a0d6778d6baab.tar.gz v4l16-4d58f3d6ba1caaa331ae61471a6a0d6778d6baab.zip |
oh, i should commit :)
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..0b8b2c8 --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +#!/usr/local/bin/fish + +set sysroot /Users/gen/sysroot + +env BINDGEN_EXTRA_CLANG_ARGS="-I$sysroot/usr/include" \ + RUSTFLAGS="-Ctarget-feature=+crt-static" \ + cargo build --target aarch64-unknown-linux-gnu --release \ No newline at end of file |