Skip to content

Commit

Permalink
Added -flto to Final Linker Invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Redfire75369 committed Oct 14, 2024
1 parent d764290 commit 809a1e6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,11 @@ jobs:
- name: Build MacOS
if: matrix.os == 'macos'
env:
MOZ_LTO: full,cross
CFLAGS: -flto
CPPFLAGS: -flto
CXXFLAGS: -flto
LDFLAGS: -flto
RUSTFLAGS: -Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld
MOZ_LTO: full,cross
CFLAGS: -flto
CPPFLAGS: -flto
CXXFLAGS: -flto
RUSTFLAGS: -Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=-flto
run: |
just build-release -vv --locked --target $TARGET
mv ./target/$TARGET/release/cli ./target/$TARGET/release/spiderfire
Expand Down

0 comments on commit 809a1e6

Please sign in to comment.