summaryrefslogtreecommitdiffstats
path: root/chromium/build/patches/chromium_slackware_triplet.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/build/patches/chromium_slackware_triplet.patch')
-rw-r--r--chromium/build/patches/chromium_slackware_triplet.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/build/patches/chromium_slackware_triplet.patch b/chromium/build/patches/chromium_slackware_triplet.patch
new file mode 100644
index 00000000..47113baa
--- /dev/null
+++ b/chromium/build/patches/chromium_slackware_triplet.patch
@@ -0,0 +1,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