mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-05-04 01:53:46 +01:00
Compare commits
No commits in common. "a96848c56081788b752d0f5ac5f457556d984ae0" and "9ea4daacbff4d695f647a5b022c38286332b83a2" have entirely different histories.
a96848c560
...
9ea4daacbf
1 changed files with 1 additions and 10 deletions
|
@ -17,10 +17,7 @@ BuildRequires: rust
|
|||
BuildRequires: cargo
|
||||
BuildRequires: just
|
||||
BuildRequires: clang
|
||||
BuildRequires: perl
|
||||
%ifarch aarch64
|
||||
BuildRequires: binutils-aarch64-linux-gnu
|
||||
BuildRequires: gcc-c++-aarch64-linux-gnu
|
||||
BuildRequires: gcc-aarch64-linux-gnu
|
||||
BuildRequires: musl-devel
|
||||
%endif
|
||||
|
@ -38,13 +35,7 @@ Requires: glibc
|
|||
|
||||
%prep
|
||||
%setup -q -n lune-%{version}
|
||||
# Removes the first line containing clippy lint attribute which is falsely flagged as a shebang in build
|
||||
find . -type f -name "*.rs" -exec perl -i -ne 'print unless /^\#!\[/ ' {} +
|
||||
cat <<EOF > .cargo/config.toml
|
||||
[target.aarch64-unknown-linux-gnu]
|
||||
linker = "aarch64-linux-gnu-gcc"
|
||||
rustflags = ["-L", "/usr/lib/gcc/aarch64-linux-gnu/14"]
|
||||
EOF
|
||||
|
||||
|
||||
%build
|
||||
just build --locked --release
|
||||
|
|
Loading…
Add table
Reference in a new issue