blob: 47113baaa5f328582a2c4e8ab5f9883e4814af78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- chromium-77.0.3865.75/tools/clang/scripts/build.py.orig 2019-09-15 18:07:36.473402940 +0200
+++ chromium-77.0.3865.75/tools/clang/scripts/build.py 2019-09-16 00:08:30.826435347 +0200
@@ -426,6 +426,11 @@
if args.skip_build:
return 0
+ # Slackware's host triplets are missing for i?86 and ARMHF:
+ import shlex
+ os.chdir(LLVM_DIR)
+ subprocess.call(['patch' , '-p0' , '-i' , '../../clang.toolchains.slackware.triple.diff' , '--verbose'])
+
# The variable "lld" is only used on Windows because only there does setting
# CMAKE_LINKER have an effect: On Windows, the linker is called directly,
# while elsewhere it's called through the compiler driver, and we pass
|