1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/raku-librarymake/ld.patch
5 # Copyright (C) 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- P6-LibraryMake-7aae514/lib/LibraryMake.pm6.vanilla 2021-07-11 15:24:19.191000000 +0200
18 +++ P6-LibraryMake-7aae514/lib/LibraryMake.pm6 2021-07-11 15:26:16.309000000 +0200
22 for %vars.kv -> $k, $v {
23 - %vars{$k} [R//]= %*ENV{$k};
24 + if %*ENV<SDECFG_VERBOSE>:exists and $k eq 'LD' {
25 + # Inside T2 %LD% should be set to $CC
26 + %vars{$k} [R//]= %*ENV<CC>;
28 + %vars{$k} [R//]= %*ENV{$k};