gecko-dev/build/cargo-host-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

4 lines
120 B
Batchfile

@echo off
REM See comment in cargo-linker (without extension)
%MOZ_CARGO_WRAP_HOST_LD% %* %MOZ_CARGO_WRAP_HOST_LDFLAGS%