Skip to content

Commit

Permalink
fix: unify rust flag logic1
Browse files Browse the repository at this point in the history
Signed-off-by: Sayan Paul <[email protected]>
  • Loading branch information
say-paul committed Oct 9, 2023
1 parent 0301634 commit 29f7fe7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions greenboot.spec
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ cat >.cargo/config << EOF
[build]
rustc = "%{__rustc}"
rustdoc = "%{__rustdoc}"
%if 0%{?rhel} && !0%{?eln}
rustflags = %{__global_rustflags_toml}
%else
# %if 0%{?rhel} && !0%{?eln}
rustflags = "%{__global_rustflags_toml}"
%endif
# %else
# rustflags = "%{__global_rustflags_toml}"
# %endif
[install]
root = "%{buildroot}%{_prefix}"
Expand Down

0 comments on commit 29f7fe7

Please sign in to comment.