fix: linker flag

This commit is contained in:
Kainoa Kanter 2026-02-21 19:29:49 -07:00
parent b75eba06f5
commit 564402d39c
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -91,6 +91,7 @@ build() {
export CARGO_HOME="$srcdir/.cargo-tauri-cef"
export PATH="$srcdir/.cargo-tauri-cef/bin:$PATH"
export CEF_PATH="$srcdir/cef"
export CFLAGS+=" -ffat-lto-objects"
mkdir -p "$CEF_PATH"
# Remove the lockfile so Cargo re-resolves against the patched git crates