Hi Pierre, Pierre Neidhardt <m...@ambrevar.xyz> skribis:
> So it seems that the following change to make-ld-wrapper triggers a > rebuild of the world on every "guix build". Any idea why? Ludo? “Everything” depends on ‘ld-wrapper’ (see commencement.scm), so you have to come up with changes that do not modify the default ‘ld-wrapper’. > (ld ,(if target > - `(string-append bin "/" ,target "-ld") > - '(string-append bin "/ld"))) > + `(string-append bin "/" ,target "-" > ,linker-name) > + `(string-append bin "/" ,linker-name))) In these two cases, you’re changing the generated code from: (string-append bin "/" … "-ld") (string-append bin "/ld") to: (string-append bin "/" … "-" "ld") (string-append bin "/" "ld") To avoid a rebuild, you’ll have to special-case “ld” such that the generated code is unchanged. HTH! Ludo’.