gecko-dev/build/cargo-linker.bat
Mike Hommey 693f013ade Bug 1916426 - Pass our LDFLAGS last to the linker command line cargo invokes r=firefox-build-system-reviewers,sergesanspaille
See https://github.com/llvm/llvm-project/issues/107365#issuecomment-2362516002
for an example of how things can go wrong when they are passed first.

I don't think there was a specific reason for them to have been put
first in the first place.

Differential Revision: https://phabricator.services.mozilla.com/D222899
2024-09-20 06:56:25 +00:00

3 lines
58 B
Batchfile

@echo off
%MOZ_CARGO_WRAP_LD% %* %MOZ_CARGO_WRAP_LDFLAGS%