Dash:
[t2.git] / package / develop / lld / hotfix-no-macho.patch
blob001a1099eec7d1607013b017de5a1bfad6fb100e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/lld/hotfix-no-macho.patch
3 # Copyright (C) 2022 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- lld-13.0.0.src/CMakeLists.txt.vanilla 2022-01-12 17:28:36.887674740 +0100
15 +++ lld-13.0.0.src/CMakeLists.txt 2022-01-12 17:28:46.096674372 +0100
16 @@ -206,7 +206,7 @@
17 add_subdirectory(docs)
18 add_subdirectory(COFF)
19 add_subdirectory(ELF)
20 -add_subdirectory(MachO)
21 +#add_subdirectory(MachO)
22 add_subdirectory(MinGW)
23 add_subdirectory(wasm)
25 --- lld-13.0.0.src/tools/lld/lld.cpp.vanilla 2022-01-12 17:31:20.784668205 +0100
26 +++ lld-13.0.0.src/tools/lld/lld.cpp 2022-01-12 17:31:39.889667443 +0100
27 @@ -148,10 +148,10 @@
28 return !elf::link(args, exitEarly, stdoutOS, stderrOS);
29 case WinLink:
30 return !coff::link(args, exitEarly, stdoutOS, stderrOS);
31 - case Darwin:
32 - return !macho::link(args, exitEarly, stdoutOS, stderrOS);
33 - case DarwinOld:
34 - return !mach_o::link(args, exitEarly, stdoutOS, stderrOS);
35 +// case Darwin:
36 +// return !macho::link(args, exitEarly, stdoutOS, stderrOS);
37 +// case DarwinOld:
38 +// return !mach_o::link(args, exitEarly, stdoutOS, stderrOS);
39 case Wasm:
40 return !lld::wasm::link(args, exitEarly, stdoutOS, stderrOS);
41 default:
42 --- lld-13.0.0.src/tools/lld/CMakeLists.txt.vanilla 2022-01-12 17:30:39.506669851 +0100
43 +++ lld-13.0.0.src/tools/lld/CMakeLists.txt 2022-01-12 17:30:51.195669384 +0100
44 @@ -15,7 +15,7 @@
45 lldCOFF
46 lldDriver
47 lldELF
48 - lldMachO2
49 + # lldMachO2
50 lldMinGW
51 lldWasm