darwin: remove -arch from cc/ld wrapper#354511
darwin: remove -arch from cc/ld wrapper#354511emilazy merged 1 commit intoNixOS:llvm-19from paparodeo:no-arch
Conversation
|
cc @emilazy |
|
@thefloweringash do you remember why you added these originally? |
It was long enough ago that some details have been lost. There's a little background in #114817. At the time I was focused on bringing up There's precedent in the nixpkgs clang wrapper for making some flags conditional on the absence of the |
a482a40 to
483a684
Compare
|
Thanks for the reply! We’ve tested that basic Darwin–Darwin cross still works on this branch, and looking at the |
-archin the cc/ld wrapper causes problems when specifying different--targetoptions, which would succeed except for the conflicting-archspecifier.Reverts fc0456b and b26e0ba
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.